projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GNU file utilities
[gnulib.git]
/
lib
/
fnmatch.h
diff --git
a/lib/fnmatch.h
b/lib/fnmatch.h
index
2289f63
..
5c94813
100644
(file)
--- a/
lib/fnmatch.h
+++ b/
lib/fnmatch.h
@@
-29,8
+29,9
@@
extern "C" {
#else /* Not C++ or ANSI C. */
#undef __P
#define __P(args) ()
#else /* Not C++ or ANSI C. */
#undef __P
#define __P(args) ()
-#undef const
-#define const
+/* We can get away without defining `const' here only because in this file
+ it is used only inside the prototype for `fnmatch', which is elided in
+ non-ANSI C where `const' is problematical. */
#endif /* C++ or ANSI C. */
/* Bits set in the FLAGS argument to `fnmatch'. */
#endif /* C++ or ANSI C. */
/* Bits set in the FLAGS argument to `fnmatch'. */