mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 01:33:03 +00:00
remove useless include
* 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.
This commit is contained in:
@@ -38,11 +38,6 @@
|
|||||||
# include <stddef.h>
|
# include <stddef.h>
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
|
||||||
# if HAVE_SYS_TYPES_H
|
|
||||||
# include <sys/types.h>
|
|
||||||
# endif
|
|
||||||
|
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
|
|
||||||
@@ -105,7 +100,6 @@ typedef size_t uintptr_t;
|
|||||||
# define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
|
# define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# define FUNCTION_PRINT() fprintf (stderr, "%s: ", __func__)
|
|
||||||
|
|
||||||
/*------.
|
/*------.
|
||||||
| NLS. |
|
| NLS. |
|
||||||
|
|||||||
Reference in New Issue
Block a user