]> The Tcpdump Group git mirrors - libpcap/commitdiff
Gisle Vanem notes that some compilers warn about "const register char
authorguy <guy>
Thu, 10 Feb 2005 19:38:06 +0000 (19:38 +0000)
committerguy <guy>
Thu, 10 Feb 2005 19:38:06 +0000 (19:38 +0000)
*" - use "register const char *" instead.

inet.c

diff --git a/inet.c b/inet.c
index e358f5bad37dd9abcd4d60b7939f105af670930d..169e732f3572d3dad82eed87f29a6d0d3579013f 100644 (file)
--- a/inet.c
+++ b/inet.c
@@ -34,7 +34,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/inet.c,v 1.65 2005-01-29 00:47:25 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/inet.c,v 1.66 2005-02-10 19:38:06 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -684,7 +684,7 @@ pcap_lookupdev(errbuf)
 
 int
 pcap_lookupnet(device, netp, maskp, errbuf)
-       const register char *device;
+       register const char *device;
        register bpf_u_int32 *netp, *maskp;
        register char *errbuf;
 {