summaryrefslogtreecommitdiff
path: root/src/getaddrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getaddrinfo.c')
-rw-r--r--src/getaddrinfo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/getaddrinfo.c b/src/getaddrinfo.c
index bfa3b4a3..7c80dcf2 100644
--- a/src/getaddrinfo.c
+++ b/src/getaddrinfo.c
@@ -224,7 +224,8 @@ static int itoa_length();
/*
* gai_strerror().
*/
-const char* gai_strerror(ecode) int ecode;
+const char* gai_strerror(ecode)
+int ecode;
{
if (ecode < 0 || ecode > EAI_SYSTEM)
return _("Unknown error");
@@ -295,7 +296,8 @@ static int is_address(s) const char* s;
* Calcurate length of the string `s', where `s' is set by
* sprintf(s, "%d", n).
*/
-static int itoa_length(n) int n;
+static int itoa_length(n)
+int n;
{
int result = 1;