summaryrefslogtreecommitdiff
path: root/libc/misc/error
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-16 18:29:52 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-16 18:29:52 +0000
commit15868f9c3d22fb51b38d7aafd88d95fb2193e734 (patch)
treefd940f5c633ec4a2d917b91654927c86d28c5f37 /libc/misc/error
parent4a15cc847eef004276ddaaae4dbb70dd6fb692e1 (diff)
s/weak_alias/strong_alias/, only what I knew as needed are kept. We will now see what libpthread will do ...
Diffstat (limited to 'libc/misc/error')
-rw-r--r--libc/misc/error/error.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/misc/error/error.c b/libc/misc/error/error.c
index 6528e28ce..5c1109ea0 100644
--- a/libc/misc/error/error.c
+++ b/libc/misc/error/error.c
@@ -52,7 +52,7 @@ int error_one_per_line;
void (*error_print_progname) (void) = NULL;
-void __error (int status, int errnum, const char *message, ...)
+attribute_hidden void __error (int status, int errnum, const char *message, ...)
{
va_list args;
@@ -70,7 +70,7 @@ void __error (int status, int errnum, const char *message, ...)
exit (status);
}
-void __error_at_line (int status, int errnum, const char *file_name,
+attribute_hidden void __error_at_line (int status, int errnum, const char *file_name,
unsigned int line_number, const char *message, ...)
{
va_list args;
@@ -106,8 +106,7 @@ void __error_at_line (int status, int errnum, const char *file_name,
exit (status);
}
-/* Use the weaks here in an effort at controlling namespace pollution */
#undef error
#undef error_at_line
-weak_alias (__error, error)
-weak_alias (__error_at_line, error_at_line)
+strong_alias(__error,error)
+strong_alias(__error_at_line,error_at_line)