Skip to content

Commit b03acea

Browse files
committed
Make WSREP_SEQNO_UNDEFINED a typed integer instead of macro
1 parent 427c73c commit b03acea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wsrep_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ typedef _Bool wsrep_bool_t; //!< should be the same as standard (C99) bool
158158
#endif /* __cplusplus */
159159

160160
/*! undefined seqno */
161-
#define WSREP_SEQNO_UNDEFINED (-1)
161+
static wsrep_seqno_t const WSREP_SEQNO_UNDEFINED = -1;
162162

163163

164164
/*! wsrep provider status codes */

0 commit comments

Comments
 (0)