aboutsummaryrefslogtreecommitdiffstats
path: root/include/regex.h
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>2003-12-18 10:41:39 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>2003-12-18 10:41:39 +0000
commit3a5c2520648d8f78d4f6b7dbe2f6504ca2aaf990 (patch)
tree53bff5544aa977d51c928781326a366039a2ebda /include/regex.h
parent85a1bad78e9d435b671758f8f0984d1dd82b2fc4 (diff)
downloadsrc-3a5c2520648d8f78d4f6b7dbe2f6504ca2aaf990.tar.gz
src-3a5c2520648d8f78d4f6b7dbe2f6504ca2aaf990.zip
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.
Notes
Notes: svn path=/head/; revision=123636
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 5c13afea4159..b4e01325acdc 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