summaryrefslogtreecommitdiffstats
path: root/include/fnmatch.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2003-12-18 07:42:08 +0000
committerjkh <jkh@FreeBSD.org>2003-12-18 07:42:08 +0000
commit732903bb372dae394c980289237fb4237def11c8 (patch)
tree53c696f87d86470e9d1d3d7b7f753e2a475e97d6 /include/fnmatch.h
parent293d5a3efd1c0705d4877db59358862a6e0795d1 (diff)
downloadFreeBSD-src-732903bb372dae394c980289237fb4237def11c8.zip
FreeBSD-src-732903bb372dae394c980289237fb4237def11c8.tar.gz
Adjust in response to various bits of brucification:
1) Fix style issues in comments. 2) Properly namespaceify changes 3) Appropriate sectioning of changes Not changed: parenthesis around macro rvalue. That would make the additions inconsistent with the other entries there, merely a different style violation rather than a clear and obvious improvement so I'm going to have to disagree with the judges on that one. If someone wishes to adjust *all* the rvalues to conform to fully parenthesized marco rule, that would be both consistent and reasonable but that's beyond the scope of the changes I wish to make at this time.
Diffstat (limited to 'include/fnmatch.h')
-rw-r--r--include/fnmatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/fnmatch.h b/include/fnmatch.h
index 21d6da4..3958338 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. */
OpenPOWER on IntegriCloud