bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

system.h and errno


From: Paul Eggert
Subject: system.h and errno
Date: Sat, 2 Nov 2002 22:18:13 -0800 (PST)

I installed this minor patch.

2002-11-02  Paul Eggert  <address@hidden>

        * src/system.h (errno): Remove declaration, as we are now
        assuming C89 or better, and C89 guarantees errno.

Index: system.h
===================================================================
RCS file: /cvsroot/bison/bison/src/system.h,v
retrieving revision 1.53
diff -p -u -r1.53 system.h
--- system.h    30 Oct 2002 08:31:24 -0000      1.53
+++ system.h    3 Nov 2002 06:15:29 -0000
@@ -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"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]