summaryrefslogtreecommitdiff
path: root/staging/layer2.c
diff options
context:
space:
mode:
Diffstat (limited to 'staging/layer2.c')
-rw-r--r--staging/layer2.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/staging/layer2.c b/staging/layer2.c
index ebbc7d8..3a48820 100644
--- a/staging/layer2.c
+++ b/staging/layer2.c
@@ -109,7 +109,7 @@
// senderip is the spoofed IP,
// targetmac and targetip identifies the receiver.
//
-int send_arp ()
+int send_arp(void)
{
libnet_t *l;
libnet_ptag_t t;
@@ -410,9 +410,7 @@ int send_arp ()
//
// defaults:
// mz assumes you want to become root bridge! (rid=bid)
-//
-int send_bpdu ()
-{
+int send_bpdu(void) {
// BPDU parameters:
u_int16_t