Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e0387ec8
Commit
e0387ec8
authored
Feb 27, 2007
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners.
parent
6968b056
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
Modules/getaddrinfo.c
Modules/getaddrinfo.c
+5
-5
Modules/getnameinfo.c
Modules/getnameinfo.c
+2
-2
No files found.
Modules/getaddrinfo.c
View file @
e0387ec8
...
...
@@ -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."
,
...
...
Modules/getnameinfo.c
View file @
e0387ec8
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment