From 8b8916ece6eb9663ac587f876132feb678c157fd Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 27 Jan 2006 19:28:18 +0000 Subject: Disabled NULL error_print_progname, useless --- include/error.h | 4 ++-- libc/misc/error/error.c | 2 +- 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, ...) -- cgit v1.2.3