summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-27 19:28:18 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-27 19:28:18 +0000
commit8b8916ece6eb9663ac587f876132feb678c157fd (patch)
tree5b462dcba72b308c5bdff199160e0a3d5d4f3193
parent6b92aef7534d1bcdf1802442252f5f0a75b6e2fc (diff)
Disabled NULL error_print_progname, useless
-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, ...)