summaryrefslogtreecommitdiff
path: root/net-analyzer/argus/files/argus-3.0.8.2-fno-common.patch
blob: 66f950d0c04d2db39cd935bb184cb0b4f01d5696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- a/include/argus/bootp.h
+++ b/include/argus/bootp.h
@@ -45,6 +45,8 @@
 	unsigned char	bp_vend[64];	/* vendor-specific area */
 };
 
+extern struct bootp *bp;
+
 /*
  * UDP port numbers, server and client.
  */
--- a/argus/ArgusUdp.c
+++ b/argus/ArgusUdp.c
@@ -40,9 +40,6 @@
 #include <argus_compat.h>
 #include <ArgusModeler.h>
 
-#include <argus/bootp.h>
-struct bootp *bp;
-
 void ArgusUpdateUDPState (struct ArgusModelerStruct *, struct ArgusFlowStruct *, unsigned char *);
 
 void
--- a/argus/ArgusUdt.c
+++ b/argus/ArgusUdt.c
@@ -40,9 +40,6 @@
 #include <argus_compat.h>
 #include <ArgusModeler.h>
 
-#include <argus/bootp.h>
-struct bootp *bp;
-
 struct ArgusSystemFlow *
 ArgusCreateUDTFlow (struct ArgusModelerStruct *model, struct udt_header *udt)
 {
--- a/argus/ArgusModeler.c
+++ b/argus/ArgusModeler.c
@@ -43,7 +43,6 @@
 
 #include <argus.h>
 
-#include <argus/bootp.h>
 #include <signal.h>
 
 #include <sched.h>