summaryrefslogtreecommitdiffstats
path: root/include/fnmatch.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2003-12-18 10:41:39 +0000
committerjkh <jkh@FreeBSD.org>2003-12-18 10:41:39 +0000
commitc26ef65642ce5611e36437004fe135f2a1a23b4f (patch)
tree53bff5544aa977d51c928781326a366039a2ebda /include/fnmatch.h
parent797609fcedc368e6aa9a807fa173d4236aa4b88a (diff)
downloadFreeBSD-src-c26ef65642ce5611e36437004fe135f2a1a23b4f.zip
FreeBSD-src-c26ef65642ce5611e36437004fe135f2a1a23b4f.tar.gz
Now I understand what Bruce was getting at - -1 can be parsed as two
tokens, so it does indeed need to be parenthesized. Duh. Sometimes it can stare you right and the face and you still don't see it. Thanks, bde.
Diffstat (limited to 'include/fnmatch.h')
-rw-r--r--include/fnmatch.h2
1 files changed, 1 insertions, 1 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
OpenPOWER on IntegriCloud