svn commit: trunk/uClibc: include libc/misc/error
psm at uclibc.org
psm at uclibc.org
Fri Jan 27 19:28:20 UTC 2006
Author: psm
Date: 2006-01-27 11:28:18 -0800 (Fri, 27 Jan 2006)
New Revision: 13641
Log:
Disabled NULL error_print_progname, useless
Modified:
trunk/uClibc/include/error.h
trunk/uClibc/libc/misc/error/error.c
Changeset:
Modified: trunk/uClibc/include/error.h
===================================================================
--- trunk/uClibc/include/error.h 2006-01-27 19:26:42 UTC (rev 13640)
+++ trunk/uClibc/include/error.h 2006-01-27 19:28:18 UTC (rev 13641)
@@ -53,12 +53,12 @@
/* 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. */
Modified: trunk/uClibc/libc/misc/error/error.c
===================================================================
--- trunk/uClibc/libc/misc/error/error.c 2006-01-27 19:26:42 UTC (rev 13640)
+++ trunk/uClibc/libc/misc/error/error.c 2006-01-27 19:28:18 UTC (rev 13641)
@@ -32,7 +32,7 @@
/* 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, ...)
More information about the uClibc-cvs
mailing list