diff options
Diffstat (limited to 'libc/sysdeps/linux/common/gethstnm.c')
-rw-r--r-- | libc/sysdeps/linux/common/gethstnm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/gethstnm.c b/libc/sysdeps/linux/common/gethstnm.c index c932d239c..fc5a72c8d 100644 --- a/libc/sysdeps/linux/common/gethstnm.c +++ b/libc/sysdeps/linux/common/gethstnm.c @@ -9,6 +9,8 @@ #include <sys/utsname.h> #include <errno.h> +libc_hidden_proto(gethostname) + libc_hidden_proto(strlen) libc_hidden_proto(strcpy) libc_hidden_proto(uname) @@ -32,5 +34,4 @@ gethostname(char *name, size_t len) strcpy(name, uts.nodename); return 0; } -libc_hidden_proto(gethostname) libc_hidden_def(gethostname) |