]> git.saurik.com Git - bison.git/commitdiff
remove useless include
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 4 Sep 2012 07:49:17 +0000 (09:49 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 4 Sep 2012 07:51:12 +0000 (09:51 +0200)
* src/system.h: Don't include sys/types.h.
Reported by Eric Blake,
<http://lists.gnu.org/archive/html/bug-bison/2012-09/msg00002.html>.
(FUNCTION_PRINT): Remove, unused.

src/system.h

index 1ae6a6b44a5921e9ca8bec6d65fac6eabb1d1b93..bf7f59f9dbb66ab718f148e81517aacf7efbd50b 100644 (file)
 # include <stddef.h>
 # include <stdlib.h>
 # include <string.h>
-
-# if HAVE_SYS_TYPES_H
-#  include <sys/types.h>
-# endif
-
 # include <unistd.h>
 # include <inttypes.h>
 
@@ -105,7 +100,6 @@ typedef size_t uintptr_t;
 #  define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
 # endif
 
-# define FUNCTION_PRINT() fprintf (stderr, "%s: ", __func__)
 
 /*------.
 | NLS.  |