projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1963518
)
Include <errno.h>.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 5 Sep 2001 00:08:11 +0000
(
00:08
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 5 Sep 2001 00:08:11 +0000
(
00:08
+0000)
(__syscall_gethostname): Add prototype.
sysdeps/unix/sysv/linux/alpha/gethostname.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/alpha/gethostname.c
b/sysdeps/unix/sysv/linux/alpha/gethostname.c
index
28846ef
..
3a48afc
100644
(file)
--- a/
sysdeps/unix/sysv/linux/alpha/gethostname.c
+++ b/
sysdeps/unix/sysv/linux/alpha/gethostname.c
@@
-17,6
+17,7
@@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <errno.h>
#include <string.h>
#include <unistd.h>
@@
-24,6
+25,8
@@
#include <sys/syscall.h>
#include <bp-checks.h>
+extern int __syscall_gethostname (char *name, size_t len);
+
int
__gethostname (char *name, size_t len)