aboutsummaryrefslogtreecommitdiff
path: root/misc/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/error.c')
-rw-r--r--misc/error.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/error.c b/misc/error.c
index cdba470656..c48c0f3c46 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -50,7 +50,11 @@ void exit ();
/* If NULL, error will flush stdout, then print on stderr the program
name, a colon and a space. Otherwise, error will call this
function without parameters instead. */
-void (*error_print_progname) ();
+void (*error_print_progname) (
+#if __STDC__
+ void
+#endif
+ );
/* This variable is incremented each time `error' is called. */
unsigned int error_message_count;