projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df5ade1
)
Remove K&R cruft.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 9 Sep 2003 03:15:05 +0000
(
03:15
+0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 9 Sep 2003 03:15:05 +0000
(
03:15
+0000)
lib/exclude.c
patch
|
blob
|
history
m4/exclude.m4
patch
|
blob
|
history
diff --git
a/lib/exclude.c
b/lib/exclude.c
index 7c038b23e4075727991ba4b08dac913959a8466a..3d1d3bfcb0dd860dff7755663200acf6539e2cc4 100644
(file)
--- a/
lib/exclude.c
+++ b/
lib/exclude.c
@@
-33,15
+33,8
@@
extern int errno;
#endif
#include <stddef.h>
#include <stdio.h>
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-#if HAVE_STRING_H
-# include <string.h>
-#endif
-#if HAVE_STRINGS_H
-# include <strings.h>
-#endif
+#include <stdlib.h>
+#include <string.h>
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
diff --git
a/m4/exclude.m4
b/m4/exclude.m4
index 88d2874fad17ddca8188b1c54dd88d8239261d42..6ea17e3875a1fad5b88896e6bbac992b0350edda 100644
(file)
--- a/
m4/exclude.m4
+++ b/
m4/exclude.m4
@@
-1,4
+1,4
@@
-# exclude.m4 serial
2
+# exclude.m4 serial
3
dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@
-11,6
+11,5
@@
AC_DEFUN([gl_EXCLUDE],
dnl Prerequisites of lib/exclude.c.
AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([AC_HEADER_STDC])
- AC_CHECK_HEADERS_ONCE(stdlib.h string.h strings.h)
AC_CHECK_FUNCS_ONCE(isascii)
])