Browse Source

Disabled NULL error_print_progname, useless

Peter S. Mazinger 18 years ago
parent
commit
8b8916ece6
2 changed files with 3 additions and 3 deletions
  1. 2 2
      include/error.h
  2. 1 1
      libc/misc/error/error.c

+ 2 - 2
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.  */

+ 1 - 1
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, ...)