summaryrefslogtreecommitdiff
path: root/lib/error.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2003-09-08 23:26:06 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2003-09-08 23:26:06 +0000
commit9ecb52885659513fe468fa1b1dab6a7b4f2c1471 (patch)
treea436a6e7c6e29a59b34bb54c31b5d2c363ca9960 /lib/error.h
parentb3b80ccabe1f8fd59e46167cc0511cf9fc88f22f (diff)
downloadgnulib-9ecb52885659513fe468fa1b1dab6a7b4f2c1471.tar.gz
Remove K&R cruft.
Diffstat (limited to 'lib/error.h')
-rw-r--r--lib/error.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/error.h b/lib/error.h
index 177b2dcbe8..471a4d2c9b 100644
--- a/lib/error.h
+++ b/lib/error.h
@@ -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;