summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 23:57:55 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-22 23:57:55 (GMT)
commitbd4bc4e9e947617def66780efbbea4eb08990e56 (patch)
tree7130e24f3bf2919bf47ff717ac674023816369c7 /Modules/socketmodule.c
parent3b6448fbae16564484a40efa7f418fba02755625 (diff)
downloadcpython-bd4bc4e9e947617def66780efbbea4eb08990e56.zip
cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.gz
cpython-bd4bc4e9e947617def66780efbbea4eb08990e56.tar.bz2
Even more ANSIfication: fix as many function pointers and declarations as
possible.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 50cd3eb..5d6f24a 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -111,7 +111,7 @@ Socket methods:
#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)