summaryrefslogtreecommitdiffstats
path: root/include/regex.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/regex.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/regex.h')
-rw-r--r--include/regex.h2
1 files changed, 1 insertions, 1 deletions
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