summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/error.h4
-rw-r--r--libc/misc/error/error.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/error.h b/include/error.h
index 3638bc6e9..ef97ff2c7 100644
--- a/include/error.h
+++ b/include/error.h
@@ -53,12 +53,12 @@ extern void error_at_line (int __status, int __errnum, const char *__fname,
/* 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. */
-extern void (*error_print_progname) (void);
+/* extern void (*error_print_progname) (void); */
#else
void error ();
void error_at_line ();
-extern void (*error_print_progname) ();
+/* extern void (*error_print_progname) (); */
#endif
/* This variable is incremented each time `error' is called. */
diff --git a/libc/misc/error/error.c b/libc/misc/error/error.c
index 99ab88c24..6ac0a32df 100644
--- a/libc/misc/error/error.c
+++ b/libc/misc/error/error.c
@@ -32,7 +32,7 @@ int error_one_per_line;
/* 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) = NULL;
+/* void (*error_print_progname) (void) = NULL; */
extern __typeof(error) __error attribute_hidden;
void __error (int status, int errnum, const char *message, ...)