]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Change type of second parameter back to size_t as per upcoming XPG6.
authorUlrich Drepper <drepper@redhat.com>
Sat, 17 Mar 2001 08:27:45 +0000 (08:27 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 17 Mar 2001 08:27:45 +0000 (08:27 +0000)
sysdeps/unix/sysv/aix/gethostname.c
sysdeps/unix/sysv/sysv4/gethostname.c

index 76c8c72d872bd12fd9a34f24f0ec2445940fbbc9..94820588540a893e6e91ce549aaedafa4fea8e49 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
 int
 __gethostname (name, len)
      char *name;
-     socklen_t len;
+     size_t len;
 {
   return gethostname (name, len);
 }
index 3f967e15d43c9e038599ddfe4b917f04714bbf61..1a1440f0799c1aa7e71669572138bab83ba2cd4b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1995, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -27,7 +27,7 @@ extern int __sysinfo (int command, char *buf, long int count);
 int
 __gethostname (name, namelen)
      char *name;
-     socklen_t namelen;
+     size_t namelen;
 {
   return __sysinfo (SI_HOSTNAME, name, namelen);
 }