summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-01 20:40:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-01 20:40:57 +0000
commit32b6d28b79ee49fbf183c7b7842f368e212692fe (patch)
tree3f1db12d9016587f9803a58914c633a1b543b0f5
parentcde016a0744553a8e4215002f5f5476ed0f5b2b7 (diff)
pass Wstrict-prototypes; grr, PR#193
-rw-r--r--sys/net/if_strip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_strip.c b/sys/net/if_strip.c
index 1a72d9b4819..2f616abe8b9 100644
--- a/sys/net/if_strip.c
+++ b/sys/net/if_strip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_strip.c,v 1.6 1997/02/24 13:34:01 niklas Exp $ */
+/* $OpenBSD: if_strip.c,v 1.7 1997/06/01 20:40:56 deraadt Exp $ */
/* $NetBSD: if_strip.c,v 1.2.4.3 1996/08/03 00:58:32 jtc Exp $ */
/* from: NetBSD: if_sl.c,v 1.38 1996/02/13 22:00:23 christos Exp $ */
@@ -708,7 +708,7 @@ stripoutput(ifp, m, dst, rt)
register struct ip *ip;
register struct ifqueue *ifq;
register struct st_header *shp;
- register const u_char *dldst; /* link-level next-hop */
+ register u_char *dldst; /* link-level next-hop */
int s;
u_char dl_addrbuf[STARMODE_ADDR_LEN+1];
@@ -820,7 +820,7 @@ stripoutput(ifp, m, dst, rt)
dldst = dl_addrbuf;
shp = mtod(m, struct st_header *);
- bcopy((caddr_t)"SIP0", (caddr_t)&shp->starmode_type,
+ bcopy((caddr_t)"SIP0", (caddr_t)shp->starmode_type,
sizeof(shp->starmode_type));
bcopy((caddr_t)dldst, (caddr_t)shp->starmode_addr,
@@ -1393,7 +1393,7 @@ strip_proberadio(sc, tp)
{
int overflow;
- const char *strip_probestr = "**";
+ char *strip_probestr = "**";
if (sc->sc_if.if_flags & IFF_DEBUG)
addlog("%s: attempting to probe radio\n", sc->sc_if.if_xname);