]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(error, error_at_line, error_print_progname)
authorJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:30:18 +0000 (08:30 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:30:18 +0000 (08:30 +0000)
[! (defined (__STDC__) && __STDC__)]: Remove decls.

lib/error.h

index 177b2dcbe870c33e3e3cc2ae4df43536afb14395..471a4d2c9bc387f37a0afd390b6a847398c74edd 100644 (file)
@@ -1,5 +1,5 @@
 /* Declaration for error-reporting function
-   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 1997, 2003 Free Software Foundation, Inc.
 
 
    NOTE: The canonical source of this file is maintained with the GNU C Library.
@@ -40,8 +40,6 @@
 extern "C" {
 #endif
 
-#if defined (__STDC__) && __STDC__
-
 /* Print a message with `fprintf (stderr, FORMAT, ...)';
    if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
    If STATUS is nonzero, terminate the program with `exit (STATUS)'.  */
@@ -58,12 +56,6 @@ extern void error_at_line (int status, int errnum, const char *fname,
    function without parameters instead.  */
 extern void (*error_print_progname) (void);
 
-#else
-void error ();
-void error_at_line ();
-extern void (*error_print_progname) ();
-#endif
-
 /* This variable is incremented each time `error' is called.  */
 extern unsigned int error_message_count;