Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 13667:a6c7bfdd6777 legacy-trunk
Even more ANSIfication: fix as many function pointers and declarations as
possible.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Sat, 22 Jul 2000 23:57:55 +0000 |
| parents | 8a063423e0b7 |
| children | 9f6189e89212 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Sat Jul 22 23:56:07 2000 +0000 +++ b/Modules/socketmodule.c Sat Jul 22 23:57:55 2000 +0000 @@ -111,7 +111,7 @@ #endif #if !defined(MS_WINDOWS) && !defined(PYOS_OS2) && !defined(__BEOS__) -extern int gethostname(); /* For Solaris, at least */ +extern int gethostname(char *, size_t); /* For Solaris, at least */ #endif #if defined(PYCC_VACPP)
