projects
/
platform
/
upstream
/
bison.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcb3eff
)
(IF_LINT): New macro, taken from coreutils.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 5 Nov 2002 23:42:51 +0000
(23:42 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 5 Nov 2002 23:42:51 +0000
(23:42 +0000)
src/system.h
patch
|
blob
|
history
diff --git
a/src/system.h
b/src/system.h
index
9aa6ea8
..
e297f60
100644
(file)
--- a/
src/system.h
+++ b/
src/system.h
@@
-129,6
+129,14
@@
void *memrchr (const void *s, int c, size_t n);
| GCC extensions. |
`-----------------*/
+/* Use this to suppress gcc's `...may be used before initialized'
+ warnings. */
+#ifdef lint
+# define IF_LINT(Code) Code
+#else
+# define IF_LINT(Code) /* empty */
+#endif
+
#ifndef __attribute__
/* This feature is available in gcc versions 2.5 and later. */
# if !defined (__GNUC__) || __GNUC__ < 2 || \