summaryrefslogtreecommitdiffstats
path: root/Modules/getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/getnameinfo.c')
-rw-r--r--Modules/getnameinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/getnameinfo.c b/Modules/getnameinfo.c
index d3c0ac5..0190a32 100644
--- a/Modules/getnameinfo.c
+++ b/Modules/getnameinfo.c
@@ -82,8 +82,8 @@ struct gni_sockinet {
#define ENI_SALEN 6
/* forward declaration to make gcc happy */
-int getnameinfo Py_PROTO((const struct sockaddr *, size_t, char *, size_t,
- char *, size_t, int));
+int getnameinfo(const struct sockaddr *, size_t, char *, size_t,
+ char *, size_t, int);
int
getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)