]> git.saurik.com Git - bison.git/blobdiff - src/system.h
* tests/actions.at (Actions after errors): New test case.
[bison.git] / src / system.h
index 9bd72650ed2f4ed01dfeeb550262494f2ed2510a..e297f608cacdde8aa4401339e94a6c2599f16128 100644 (file)
@@ -79,10 +79,6 @@ char *alloca ();
 #endif /* not STDC_HEADERS and not HAVE_STRING_H */
 
 #include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
-
 #include <limits.h>
 
 # include "xalloc.h"
@@ -133,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 || \