From 5e28cd65a57b6c3ddedc8b509ed88d47976e11a3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 9 Sep 2003 03:15:05 +0000 Subject: [PATCH] Remove K&R cruft. --- lib/exclude.c | 11 ++--------- m4/exclude.m4 | 3 +-- 2 files changed, 3 insertions(+), 11 deletions(-) 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) ]) -- 2.30.2