about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/aix/gethostname.c')
-rw-r--r--sysdeps/unix/sysv/aix/gethostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/aix/gethostname.c b/sysdeps/unix/sysv/aix/gethostname.c
index 76c8c72d87..9482058854 100644
--- a/sysdeps/unix/sysv/aix/gethostname.c
+++ b/sysdeps/unix/sysv/aix/gethostname.c
@@ -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);
 }