kumquat-buildroot/package/gettext-gnu/0001-error_print_progname.patch

21 lines
827 B
Diff
Raw Normal View History

[Updated to apply cleanly with 0.20.1]
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
diff --git a/gettext-tools/gnulib-lib/error.h b/gettext-tools/gnulib-lib/error.h
index 61771cc..4221684 100644
--- a/gettext-tools/gnulib-lib/error.h
+++ b/gettext-tools/gnulib-lib/error.h
@@ -68,7 +68,10 @@ extern void error_at_line (int __status, int __errnum, const char *__fname,
2007-01-14 04:09:47 +01:00
/* 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 DLL_VARIABLE void (*error_print_progname) (void);
2007-06-20 14:10:48 +02:00
+#ifndef __UCLIBC__
+extern DLL_VARIABLE
+#endif
2007-01-14 04:09:47 +01:00
+void (*error_print_progname) (void);
/* This variable is incremented each time 'error' is called. */
2007-01-14 04:09:47 +01:00
extern DLL_VARIABLE unsigned int error_message_count;
--