diff src/s/sol2.h @ 98:0d2f883870bc r20-1b1

Import from CVS: tag r20-1b1
author cvs
date Mon, 13 Aug 2007 09:13:56 +0200
parents 54cc21c15cbb
children 538048ae2ab8
line wrap: on
line diff
--- a/src/s/sol2.h	Mon Aug 13 09:12:43 2007 +0200
+++ b/src/s/sol2.h	Mon Aug 13 09:13:56 2007 +0200
@@ -41,7 +41,7 @@
 /* The standard Solaris library nsl has this function in it which is
    supposed to only be in the BSD compat stuff.  Yuck.  Of course,
    there isn't a prototype for it other than in /usr/ucbinclude. */
-int gethostname (char *, int);
+int gethostname (char *, size_t);
 
 /* Get non-ANSI functions from ANSI header files in cc -Xc mode.
    Sun has promised to fix setjmp.h */