Remove K&R cruft.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Sep 2003 20:06:56 +0000 (20:06 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 9 Sep 2003 20:06:56 +0000 (20:06 +0000)
lib/long-options.c
m4/long-options.m4

index 43df859..58bc93c 100644 (file)
@@ -1,5 +1,7 @@
 /* Utility to accept --help and --version options as unobtrusively as possible.
-   Copyright (C) 1993-1994, 1998-1999, 2000, 2002 Free Software Foundation, Inc.
+
+   Copyright (C) 1993, 1994, 1998, 1999, 2000, 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
 # include <config.h>
 #endif
 
+#include "long-options.h"
+
 #include <stdio.h>
 #include <getopt.h>
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
 
-#include "long-options.h"
 #include "version-etc.h"
 
 static struct option const long_options[] =
index 005a8f8..4741954 100644 (file)
@@ -1,5 +1,5 @@
-# long-options.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# long-options.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
@@ -9,5 +9,5 @@ dnl the same distribution terms as the rest of that program.
 AC_DEFUN([gl_LONG_OPTIONS],
 [
   dnl Prerequisites of lib/long-options.c.
-  AC_CHECK_HEADERS_ONCE(stdlib.h)
+  :
 ])