summaryrefslogtreecommitdiffstats
path: root/Modules/getaddrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/getaddrinfo.c')
-rw-r--r--Modules/getaddrinfo.c10
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.",