diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-27 19:06:23 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-27 19:06:23 +0000 |
commit | e0387ec8b5a6d874cb859c85e5b40b89fb450703 (patch) | |
tree | 66efcd592e1730226c26bd767ea267675718e276 /Modules/getnameinfo.c | |
parent | 6968b056efdec8cf178901cf5bfcf65e1c8eac65 (diff) | |
download | cpython-git-e0387ec8b5a6d874cb859c85e5b40b89fb450703.tar.gz |
SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners.
Diffstat (limited to 'Modules/getnameinfo.c')
-rw-r--r-- | Modules/getnameinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/getnameinfo.c b/Modules/getnameinfo.c index d3c0ac5373..0190a3225c 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) |