summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/gethstnm.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-14 19:45:02 +0000
commit6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch)
tree349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/sysdeps/linux/common/gethstnm.c
parent2d997660372123ab6ac1ee519b22fe015eaa787b (diff)
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/sysdeps/linux/common/gethstnm.c')
-rw-r--r--libc/sysdeps/linux/common/gethstnm.c3
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)