Author: neal.norwitz
Date: Tue Feb 27 20:06:23 2007
New Revision: 54001

Modified:
   python/branches/p3yk/Modules/getaddrinfo.c
   python/branches/p3yk/Modules/getnameinfo.c
Log:
SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners.


Modified: python/branches/p3yk/Modules/getaddrinfo.c
==============================================================================
--- python/branches/p3yk/Modules/getaddrinfo.c  (original)
+++ python/branches/p3yk/Modules/getaddrinfo.c  Tue Feb 27 20:06:23 2007
@@ -129,12 +129,12 @@
 #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.",

Modified: python/branches/p3yk/Modules/getnameinfo.c
==============================================================================
--- python/branches/p3yk/Modules/getnameinfo.c  (original)
+++ python/branches/p3yk/Modules/getnameinfo.c  Tue Feb 27 20:06:23 2007
@@ -82,8 +82,8 @@
 #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)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to