diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-09-05 00:26:04 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-09-05 00:26:04 +0000 |
commit | 71ce28fd1abbccc9814d199d770e673135a33ee1 (patch) | |
tree | 2a57d3f2cb75d8261f720f7f4b967ec456248363 /sysdeps/unix | |
parent | 903244ac3c697bc1f05c0ec0b994d7c36763ca3f (diff) | |
download | glibc-71ce28fd1abbccc9814d199d770e673135a33ee1.tar.gz glibc-71ce28fd1abbccc9814d199d770e673135a33ee1.tar.xz glibc-71ce28fd1abbccc9814d199d770e673135a33ee1.zip |
Update.
2001-09-04 Jakub Jelinek <jakub@redhat.com> * iconv/strtab.c (strtabinit): Initialize null Strent. (newstring): Move len == 0 handling... (strtabadd): ...here. If len == 1, return null Strent. When inserting a suffix of an existing string, check if it is not equal to some suffix already recorded. Copy left and right members over if adding longer string. 2001-09-04 Jakub Jelinek <jakub@redhat.com> * sunrpc/rpc_cout.c (upcase): Account for trailing '\0'. * sysdeps/unix/sysv/linux/alpha/gethostname.c: Include <errno.h>. (__syscall_gethostname): Add prototype.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/gethostname.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/gethostname.c b/sysdeps/unix/sysv/linux/alpha/gethostname.c index 28846efe57..3a48afccd3 100644 --- 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) |