aboutsummaryrefslogtreecommitdiff
path: root/nametoaddr.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-03-20 12:06:05 -0700
committerGuy Harris <guy@alum.mit.edu>2018-03-20 12:06:05 -0700
commitc910b2858b5963c7f8fc471411f2fa9bb3d93920 (patch)
tree7cd867bd490465b33971d536cb4e71abe8c7dbf2 /nametoaddr.c
parent88cce66891ae05672783fb154b2b45456e0b259e (diff)
downloadlibpcap-c910b2858b5963c7f8fc471411f2fa9bb3d93920.tar.gz
Don't use old-style function definitions.
Diffstat (limited to 'nametoaddr.c')
-rw-r--r--nametoaddr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nametoaddr.c b/nametoaddr.c
index e7b7134e..537d6a34 100644
--- a/nametoaddr.c
+++ b/nametoaddr.c
@@ -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';