aboutsummaryrefslogtreecommitdiff
path: root/misc/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/error.c')
-rw-r--r--misc/error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/error.c b/misc/error.c
index 690b5bdc99..599de78629 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -74,6 +74,10 @@ unsigned int error_message_count;
/* In GNU libc we want do not want to use the common name `error' directly.
Instead make it a weak alias. */
+extern void __error (int status, int errnum, const char *message, ...);
+extern void __error_at_line (int status, int errnum, const char *file_name,
+ unsigned int line_number, const char *message,
+ ...);
# define error __error
# define error_at_line __error_at_line