diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2003-12-12 12:54:58 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2003-12-12 12:54:58 +0000 |
commit | 7048033023755b5b4e3fbcf04e81b674a580b602 (patch) | |
tree | cf93ce1d4e60d07ad0ba87e2011d2602c3a3af43 /sys/net | |
parent | bcd89c4c14ecf2ba62f76cce7e4ddf5c15e431bd (diff) |
small compiler warning cleanup (#error instead of bailing out)
ok henning@ grange@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_arcsubr.c | 4 | ||||
-rw-r--r-- | sys/net/if_sl.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_arcsubr.c b/sys/net/if_arcsubr.c index bb26afdcfe8..01cd531503b 100644 --- a/sys/net/if_arcsubr.c +++ b/sys/net/if_arcsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_arcsubr.c,v 1.17 2003/12/10 07:22:42 itojun Exp $ */ +/* $OpenBSD: if_arcsubr.c,v 1.18 2003/12/12 12:54:57 hshoexer Exp $ */ /* $NetBSD: if_arcsubr.c,v 1.8 1996/05/07 02:40:29 thorpej Exp $ */ /* @@ -73,7 +73,7 @@ static struct mbuf *arc_defrag(struct ifnet *, struct mbuf *); * option. */ #if ARC_PHDSMTU > 60480 -ERROR: The arc_phdsmtu is ARC_PHDSMTU, but must not exceed 60480. +#error The arc_phdsmtu is ARC_PHDSMTU, but must not exceed 60480. #endif u_int16_t arc_phdsmtu = ARC_PHDSMTU; u_int8_t arcbroadcastaddr = 0; diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index b0e8abb3ef2..604cfc7939d 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sl.c,v 1.23 2003/12/10 07:22:42 itojun Exp $ */ +/* $OpenBSD: if_sl.c,v 1.24 2003/12/12 12:54:57 hshoexer Exp $ */ /* $NetBSD: if_sl.c,v 1.39.4.1 1996/06/02 16:26:31 thorpej Exp $ */ /* @@ -92,7 +92,7 @@ #include <netinet/in_var.h> #include <netinet/ip.h> #else -Huh? Slip without inet? +#error Huh? Slip without inet? #endif #include <net/slcompress.h> @@ -155,7 +155,7 @@ Huh? Slip without inet? #define SLMTU 296 #endif #if (SLMTU < 3) -Huh? SLMTU way too small. +#error Huh? SLMTU way too small. #endif #define SLIP_HIWAT roundup(50,CBSIZE) #if !(defined(__NetBSD__) || defined(__OpenBSD__)) /* XXX - cgd */ |