]> The Tcpdump Group git mirrors - libpcap/blobdiff - nametoaddr.c
Don't use old-style function definitions.
[libpcap] / nametoaddr.c
index e7b7134ee53cc557ca3135aed181962f29189837..537d6a34c75dd836ad5c825c10b04c78714dd5b9 100644 (file)
@@ -613,8 +613,7 @@ pcap_nametollc(const char *s)
 
 /* Hex digit to integer. */
 static inline int
-xdtoi(c)
-       register int c;
+xdtoi(int c)
 {
        if (isdigit(c))
                return c - '0';