]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence compiler
authorMark Andrews <marka@isc.org>
Tue, 12 Mar 2002 04:07:37 +0000 (04:07 +0000)
committerMark Andrews <marka@isc.org>
Tue, 12 Mar 2002 04:07:37 +0000 (04:07 +0000)
lib/isc/inet_pton.c

index 789403dcabbd5bf68558d09072e22ae03e7a4d2d..d771fb462d8fbe23480c8c09b0c9895897756d1d 100644 (file)
@@ -17,7 +17,7 @@
 
 #if defined(LIBC_SCCS) && !defined(lint)
 static char rcsid[] =
-       "$Id: inet_pton.c,v 1.10 2001/07/16 03:06:52 marka Exp $";
+       "$Id: inet_pton.c,v 1.11 2002/03/12 04:07:37 marka Exp $";
 #endif /* LIBC_SCCS and not lint */
 
 #include <config.h>
@@ -51,11 +51,7 @@ static int inet_pton6(const char *src, unsigned char *dst);
  *     Paul Vixie, 1996.
  */
 int
-isc_net_pton(af, src, dst)
-       int af;
-       const char *src;
-       void *dst;
-{
+isc_net_pton(int af, const char *src, void *dst) {
        switch (af) {
        case AF_INET:
                return (inet_pton4(src, dst));
@@ -79,10 +75,7 @@ isc_net_pton(af, src, dst)
  *     Paul Vixie, 1996.
  */
 static int
-inet_pton4(src, dst)
-       const char *src;
-       unsigned char *dst;
-{
+inet_pton4(const char *src, unsigned char *dst) {
        static const char digits[] = "0123456789";
        int saw_digit, octets, ch;
        unsigned char tmp[NS_INADDRSZ], *tp;
@@ -134,10 +127,7 @@ inet_pton4(src, dst)
  *     Paul Vixie, 1996.
  */
 static int
-inet_pton6(src, dst)
-       const char *src;
-       unsigned char *dst;
-{
+inet_pton6(const char *src, unsigned char *dst) {
        static const char xdigits_l[] = "0123456789abcdef",
                          xdigits_u[] = "0123456789ABCDEF";
        unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp;