b120eb783a16991fcd3b1583604a51db3d0a71a0
[openwrt/openwrt.git] / package / arptables / patches / 100-always_optimize.patch
1 Index: arptables-v0.0.3-4/libarptc/libarptc_incl.c
2 ===================================================================
3 --- arptables-v0.0.3-4.orig/libarptc/libarptc_incl.c 2010-03-08 16:49:28.000000000 +0100
4 +++ arptables-v0.0.3-4/libarptc/libarptc_incl.c 2012-08-14 12:10:29.527945144 +0200
5 @@ -11,14 +11,6 @@
6 /* (C)1999 Paul ``Rusty'' Russell - Placed under the GNU GPL (See
7 COPYING for details). */
8
9 -#ifndef __OPTIMIZE__
10 -STRUCT_ENTRY_TARGET *
11 -GET_TARGET(STRUCT_ENTRY *e)
12 -{
13 - return (void *)e + e->target_offset;
14 -}
15 -#endif
16 -
17 static int sockfd = -1;
18 static void *arptc_fn = NULL;
19