Remove K&R cruft.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Sep 2003 03:15:05 +0000 (03:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Sep 2003 03:15:05 +0000 (03:15 +0000)
lib/exclude.c
m4/exclude.m4

index 7c038b2..3d1d3bf 100644 (file)
@@ -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
index 88d2874..6ea17e3 100644 (file)
@@ -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)
 ])