From: Paul Eggert Date: Tue, 9 Sep 2003 03:15:05 +0000 (+0000) Subject: Remove K&R cruft. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e28cd65a57b6c3ddedc8b509ed88d47976e11a3;p=pspp Remove K&R cruft. --- diff --git a/lib/exclude.c b/lib/exclude.c index 7c038b23e4..3d1d3bfcb0 100644 --- a/lib/exclude.c +++ b/lib/exclude.c @@ -33,15 +33,8 @@ extern int errno; #endif #include #include -#if HAVE_STDLIB_H -# include -#endif -#if HAVE_STRING_H -# include -#endif -#if HAVE_STRINGS_H -# include -#endif +#include +#include #if HAVE_INTTYPES_H # include #else diff --git a/m4/exclude.m4 b/m4/exclude.m4 index 88d2874fad..6ea17e3875 100644 --- 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) ])