OSDN Git Service

Disabled NULL error_print_progname, useless
authorPeter S. Mazinger <ps.m@gmx.net>
Fri, 27 Jan 2006 19:28:18 +0000 (19:28 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Fri, 27 Jan 2006 19:28:18 +0000 (19:28 -0000)
include/error.h
libc/misc/error/error.c

index 3638bc6..ef97ff2 100644 (file)
@@ -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.  */
index 99ab88c..6ac0a32 100644 (file)
@@ -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, ...)