diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-27 19:06:23 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-27 19:06:23 (GMT) |
commit | e0387ec8b5a6d874cb859c85e5b40b89fb450703 (patch) | |
tree | 66efcd592e1730226c26bd767ea267675718e276 /Modules/getaddrinfo.c | |
parent | 6968b056efdec8cf178901cf5bfcf65e1c8eac65 (diff) | |
download | cpython-e0387ec8b5a6d874cb859c85e5b40b89fb450703.zip cpython-e0387ec8b5a6d874cb859c85e5b40b89fb450703.tar.gz cpython-e0387ec8b5a6d874cb859c85e5b40b89fb450703.tar.bz2 |
SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners.
Diffstat (limited to 'Modules/getaddrinfo.c')
-rw-r--r-- | Modules/getaddrinfo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/getaddrinfo.c b/Modules/getaddrinfo.c index 4d19c34..5bcec2b 100644 --- a/Modules/getaddrinfo.c +++ b/Modules/getaddrinfo.c @@ -129,12 +129,12 @@ static struct gai_afd { #define IN_LOOPBACKNET 127 #endif -static int get_name Py_PROTO((const char *, struct gai_afd *, +static int get_name(const char *, struct gai_afd *, struct addrinfo **, char *, struct addrinfo *, - int)); -static int get_addr Py_PROTO((const char *, int, struct addrinfo **, - struct addrinfo *, int)); -static int str_isnumber Py_PROTO((const char *)); + int); +static int get_addr(const char *, int, struct addrinfo **, + struct addrinfo *, int); +static int str_isnumber(const char *); static char *ai_errlist[] = { "success.", |