diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-10 15:10:57 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-10 15:10:57 +0000 |
| commit | 7fe677c6d31a6fd854eaf64609d72b8613ca36ea (patch) | |
| tree | 4c65df7c08e0730d0686b169545be93177080810 /libc/inet/herror.c | |
| parent | eb853014235c86b33318f16e205ff2f818e5a67c (diff) | |
| download | uClibc-alpine-7fe677c6d31a6fd854eaf64609d72b8613ca36ea.tar.bz2 uClibc-alpine-7fe677c6d31a6fd854eaf64609d72b8613ca36ea.tar.xz | |
Merge from trunk.
Diffstat (limited to 'libc/inet/herror.c')
| -rw-r--r-- | libc/inet/herror.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/inet/herror.c b/libc/inet/herror.c index 79b84084f..2f0797b91 100644 --- a/libc/inet/herror.c +++ b/libc/inet/herror.c @@ -36,7 +36,7 @@ static const int h_nerr = { sizeof(h_errlist)/sizeof(h_errlist[0]) }; /* * herror -- print the error indicated by the h_errno value. */ -void herror(const char *s) +void attribute_hidden __herror(const char *s) { static const char colon_space[] = ": "; const char *p; @@ -52,6 +52,7 @@ void herror(const char *s) } fprintf(stderr, "%s%s%s\n", s, c, p); } +strong_alias(__herror,herror) const char *hstrerror(int err) |
