updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / fragroute / fragroute-1.2-libevent.patch
blob022f1559a13e84d9bef66fd23082db9499bce26c
1 --- fragroute-1.2.orig/fragroute.c 2002-04-08 00:55:20.000000000 +0200
2 +++ fragroute-1.2/fragroute.c 2010-02-03 21:23:21.451754240 +0100
3 @@ -36,10 +36,6 @@
5 static struct fr_ctx ctx;
7 -/* XXX - these should be in event.h */
8 -extern int (*event_sigcb)(void);
9 -extern int event_gotsig;
11 static void
12 usage(void)
14 @@ -140,7 +136,6 @@
15 fragroute_signal(DWORD sig)
17 warnx("exiting at user request");
18 - event_gotsig++;
19 return (TRUE);
21 #else
22 @@ -148,7 +143,6 @@
23 fragroute_signal(int sig)
25 warnx("exiting on signal %d", sig);
26 - event_gotsig++;
28 #endif
30 @@ -178,7 +172,6 @@
31 pkt_init(128);
33 event_init();
34 - event_sigcb = fragroute_close;
36 if ((ctx.arp = arp_open()) == NULL ||
37 (ctx.intf = intf_open()) == NULL ||