diff options
author | 2008-11-26 18:01:43 +0000 | |
---|---|---|
committer | 2008-11-26 18:01:43 +0000 | |
commit | de8ffdb71bcff1678e94a1102f0341cdbb452ab1 (patch) | |
tree | 539622c3cc881925b9dbdb320fb6b1de929f6323 /sys/dev | |
parent | provide m_clsetlwm, an interface for an interface to raise its low (diff) | |
download | wireguard-openbsd-de8ffdb71bcff1678e94a1102f0341cdbb452ab1.tar.xz wireguard-openbsd-de8ffdb71bcff1678e94a1102f0341cdbb452ab1.zip |
dont have bpf.h expose the kernel ticks variable wherever it is includeing.
it is very confusing like this.
ok deraadt@ canacar@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/bwi.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_san_xilinx.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ic/bwi.c b/sys/dev/ic/bwi.c index a7f5d403b6f..c584fccf396 100644 --- a/sys/dev/ic/bwi.c +++ b/sys/dev/ic/bwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bwi.c,v 1.82 2008/10/15 19:12:19 blambert Exp $ */ +/* $OpenBSD: bwi.c,v 1.83 2008/11/26 18:01:43 dlg Exp $ */ /* * Copyright (c) 2007 The DragonFly Project. All rights reserved. @@ -99,6 +99,8 @@ int bwi_debug = 1; #define __unused __attribute__((__unused__)) +extern int ticks; + /* XXX end porting goop */ /* MAC */ diff --git a/sys/dev/pci/if_san_xilinx.c b/sys/dev/pci/if_san_xilinx.c index bc0df31f743..83c3d6fe68b 100644 --- a/sys/dev/pci/if_san_xilinx.c +++ b/sys/dev/pci/if_san_xilinx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_san_xilinx.c,v 1.23 2008/09/18 15:16:30 naddy Exp $ */ +/* $OpenBSD: if_san_xilinx.c,v 1.24 2008/11/26 18:01:43 dlg Exp $ */ /*- * Copyright (c) 2001-2004 Sangoma Technologies (SAN) @@ -192,6 +192,8 @@ typedef struct { extern void disable_irq(unsigned int); extern void enable_irq(unsigned int); +extern int ticks; + /**SECTOIN************************************************** * * Function Prototypes |