summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/bpf.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2013-11-11 21:00:01 +0000
committerkrw <krw@openbsd.org>2013-11-11 21:00:01 +0000
commita6561481376b23273bd94c740103db2a54133f3f (patch)
tree25c7ea0fb889ca95f4f64d944c42eed0f9bca154 /sbin/dhclient/bpf.c
parentincorrect %lld for an int (diff)
downloadwireguard-openbsd-a6561481376b23273bd94c740103db2a54133f3f.tar.xz
wireguard-openbsd-a6561481376b23273bd94c740103db2a54133f3f.zip
Shuffle function prototypes and extern declarations around to
put local functions prototypes and variables in their .c files, and cross-file functions into .h files. Prompted by deraadt@.
Diffstat (limited to 'sbin/dhclient/bpf.c')
-rw-r--r--sbin/dhclient/bpf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/dhclient/bpf.c b/sbin/dhclient/bpf.c
index 9e54dc3668d..992e2b3b1e8 100644
--- a/sbin/dhclient/bpf.c
+++ b/sbin/dhclient/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.28 2013/05/02 16:35:27 krw Exp $ */
+/* $OpenBSD: bpf.c,v 1.29 2013/11/11 21:00:01 krw Exp $ */
/* BPF socket interface code, originally contributed by Archie Cobbs. */
@@ -51,6 +51,8 @@
#define BPF_FORMAT "/dev/bpf%d"
+int if_register_bpf(void);
+
/*
* Called by get_interface_list for each interface that's discovered.
* Opens a packet filter for each interface and adds it to the select