summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>2003-12-18 07:42:08 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>2003-12-18 07:42:08 +0000
commitf415f20926b5aaeab8db5b15f6f4a60cd4cd18b4 (patch)
tree53c696f87d86470e9d1d3d7b7f753e2a475e97d6
parent59553d37df44e67a58141dce18ac1791c48ed5a9 (diff)
Notes
-rw-r--r--include/fnmatch.h4
-rw-r--r--include/regex.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 21d6da4ed81a..3958338c11a9 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -45,7 +45,9 @@
#define FNM_PATHNAME 0x02 /* Slash must be matched by slash. */
#define FNM_PERIOD 0x04 /* Period must be matched by period. */
-#define FNM_NOSYS -1 /* Reserved */
+#if __XSI_VISIBLE
+#define FNM_NOSYS -1 /* Reserved. */
+#endif
#if __BSD_VISIBLE
#define FNM_LEADING_DIR 0x08 /* Ignore /<tail> after Imatch. */
diff --git a/include/regex.h b/include/regex.h
index a362dc05a2d4..5c13afea4159 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 /* Reserved */
+#define REG_ENOSYS -1
#define REG_NOMATCH 1
#define REG_BADPAT 2
#define REG_ECOLLATE 3