changeset 4639:0ba4b4b44ef5

Remove K&R cruft.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 09 Sep 2003 03:34:40 +0000
parents 652159397a1d
children 06c7e939ce64
files lib/exitfail.c m4/exitfail.m4
diffstat 2 files changed, 6 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/lib/exitfail.c
+++ b/lib/exitfail.c
@@ -1,6 +1,6 @@
 /* Failure exit status
 
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -21,9 +21,7 @@
 # include <config.h>
 #endif
 
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
 #ifndef EXIT_FAILURE
 # define EXIT_FAILURE 1
 #endif
--- a/m4/exitfail.m4
+++ b/m4/exitfail.m4
@@ -1,13 +1,10 @@
-# exitfail.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# exitfail.m4 serial 2
+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
 dnl Public License, this file may be distributed as part of a program
 dnl that contains a configuration script generated by Autoconf, under
 dnl the same distribution terms as the rest of that program.
 
-AC_DEFUN([gl_EXITFAIL],
-[
-  dnl Prerequisites of lib/exitfail.c.
-  AC_CHECK_HEADERS_ONCE(stdlib.h)
-])
+dnl Prerequisites of lib/exitfail.c.
+AC_DEFUN([gl_EXITFAIL], [:])