summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config.h4
-rw-r--r--src/parse.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/config.h b/src/config.h
index aa54491..b9f2638 100644
--- a/src/config.h
+++ b/src/config.h
@@ -162,9 +162,9 @@
* Initialize a variable, unless sanitizers would detect uninitialized uses.
*/
#if __has_feature(memory_sanitizer)
-# define BFS_UNINIT(var, value) var
+# define uninit(var, value) var
#else
-# define BFS_UNINIT(var, value) value
+# define uninit(var, value) value
#endif
// Wrappers for attributes
diff --git a/src/parse.c b/src/parse.c
index 9540e83..7dd851a 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -1962,11 +1962,11 @@ static int parse_mode(const struct parser_state *state, const char *mode, struct
MODE_PLUS,
MODE_MINUS,
MODE_EQUALS,
- } op = BFS_UNINIT(op, MODE_EQUALS);
+ } op = uninit(op, MODE_EQUALS);
- mode_t who = BFS_UNINIT(who, 0);
- mode_t file_change = BFS_UNINIT(file_change, 0);
- mode_t dir_change = BFS_UNINIT(dir_change, 0);
+ mode_t who = uninit(who, 0);
+ mode_t file_change = uninit(file_change, 0);
+ mode_t dir_change = uninit(dir_change, 0);
const char *i = mode;
while (true) {