summaryrefslogtreecommitdiff
path: root/lib/irs/getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irs/getnameinfo.c')
-rw-r--r--lib/irs/getnameinfo.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/irs/getnameinfo.c b/lib/irs/getnameinfo.c
index 526ad0918d7b..ec43043ff87e 100644
--- a/lib/irs/getnameinfo.c
+++ b/lib/irs/getnameinfo.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009, 2011-2013 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2011-2014 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -143,9 +143,10 @@ static struct afd {
} while (0)
int
-getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host,
- IRS_GETNAMEINFO_BUFLEN_T hostlen, char *serv,
- IRS_GETNAMEINFO_BUFLEN_T servlen, IRS_GETNAMEINFO_FLAGS_T flags)
+getnameinfo(const struct sockaddr *sa, IRS_GETNAMEINFO_SOCKLEN_T salen,
+ char *host, IRS_GETNAMEINFO_BUFLEN_T hostlen,
+ char *serv, IRS_GETNAMEINFO_BUFLEN_T servlen,
+ IRS_GETNAMEINFO_FLAGS_T flags)
{
struct afd *afd = NULL;
struct servent *sp;