X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=blobdiff_plain;f=sysdeps%2Fgeneric%2Fgethostname.c;h=7004673fe20ddec3e81d7b8bde02764d32ce1f6e;hp=6c3e1167ab329a70a2381beeaceb5d2553a3c4aa;hb=ff1ef37f6aa12586275407c771fbf68b2440ba81;hpb=251a55ee1943725d51733f633b79755bcc93954f;ds=sidebyside diff --git a/sysdeps/generic/gethostname.c b/sysdeps/generic/gethostname.c index 6c3e1167ab..7004673fe2 100644 --- a/sysdeps/generic/gethostname.c +++ b/sysdeps/generic/gethostname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1991,1995,1996,1997,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 @@ -25,7 +25,7 @@ int __gethostname (name, len) char *name; - socklen_t len; + size_t len; { __set_errno (ENOSYS); return -1;