summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/fnmatch.h2
-rw-r--r--include/regex.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 3958338..f905ff6 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -46,7 +46,7 @@
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
#if __XSI_VISIBLE
-#define FNM_NOSYS -1 /* Reserved. */
+#define FNM_NOSYS (-1) /* Reserved. */
#endif
#if __BSD_VISIBLE
diff --git a/include/regex.h b/include/regex.h
index 5c13afe..b4e0132 100644
--- a/include/regex.h
+++ b/include/regex.h
@@ -75,7 +75,7 @@ typedef struct {
#define REG_DUMP 0200
/* regerror() flags */
-#define REG_ENOSYS -1
+#define REG_ENOSYS (-1)
#define REG_NOMATCH 1
#define REG_BADPAT 2
#define REG_ECOLLATE 3
OpenPOWER on IntegriCloud