summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/sancp/files/sancp-1.6.1-extern.patch')
-rw-r--r--net-analyzer/sancp/files/sancp-1.6.1-extern.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-analyzer/sancp/files/sancp-1.6.1-extern.patch b/net-analyzer/sancp/files/sancp-1.6.1-extern.patch
new file mode 100644
index 000000000000..c046f1eb4971
--- /dev/null
+++ b/net-analyzer/sancp/files/sancp-1.6.1-extern.patch
@@ -0,0 +1,18 @@
+--- a/sancp.cc
++++ b/sancp.cc
+@@ -54,7 +54,6 @@
+ *************/
+
+ int main(int argc, char *argv[]) {
+- extern struct gvars gVars;
+ int cKey;
+ pid_t pid=0;
+
+@@ -274,7 +273,6 @@
+
+ extern "C" void ProcessMyPacket(char *user, struct pcap_pkthdr * pkthdr, u_char * pkt)
+ {
+- extern struct gvars gVars;
+ CBuffer *buffer;
+ struct cnx *new_cnx=0;
+ gVars.timeptr.tv_sec=pkthdr->ts.tv_sec;