100-always_optimize.patch 596 B

12345678910111213141516171819
  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. -#ifndef __OPTIMIZE__
  9. -STRUCT_ENTRY_TARGET *
  10. -GET_TARGET(STRUCT_ENTRY *e)
  11. -{
  12. - return (void *)e + e->target_offset;
  13. -}
  14. -#endif
  15. -
  16. static int sockfd = -1;
  17. static void *arptc_fn = NULL;