]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
include: remove no longer used iptables_common.h
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 22 May 2017 20:22:22 +0000 (13:22 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 22 May 2017 20:22:22 +0000 (13:22 -0700)
Reported-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/iptables_common.h [deleted file]

diff --git a/include/iptables_common.h b/include/iptables_common.h
deleted file mode 100644 (file)
index 9099667..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef _IPTABLES_COMMON_H
-#define _IPTABLES_COMMON_H
-/* Shared definitions between ipv4 and ipv6. */
-
-enum exittype {
-       OTHER_PROBLEM = 1,
-       PARAMETER_PROBLEM,
-       VERSION_PROBLEM,
-       RESOURCE_PROBLEM
-};
-
-/* this is a special 64bit data type that is 8-byte aligned */
-#define aligned_u64 unsigned long long __attribute__((aligned(8)))
-
-extern void exit_printhelp(void) __attribute__((noreturn));
-extern void exit_tryhelp(int) __attribute__((noreturn));
-int check_inverse(const char option[], int *invert, int *optind, int argc);
-extern int string_to_number(const char *, 
-                           unsigned int, 
-                           unsigned int,
-                           unsigned int *);
-extern int string_to_number_l(const char *, 
-                           unsigned long int, 
-                           unsigned long int,
-                           unsigned long *);
-extern int string_to_number_ll(const char *, 
-                           unsigned long long int, 
-                           unsigned long long int,
-                           unsigned long long *);
-extern int iptables_insmod(const char *modname, const char *modprobe);
-extern int load_iptables_ko(const char *modprobe);
-void exit_error(enum exittype, char *, ...)__attribute__((noreturn,
-                                                         format(printf,2,3)));
-extern const char *program_name, *program_version;
-extern char *lib_dir;
-
-#define _init __attribute__((constructor)) my_init
-#ifdef NO_SHARED_LIBS
-# ifdef _INIT
-#  undef _init
-#  define _init _INIT
-# endif
-  extern void init_extensions(void);
-#endif
-
-#define __be32 u_int32_t
-#define __le32 u_int32_t
-#define __be16 u_int16_t
-#define __le16 u_int16_t
-
-#endif /*_IPTABLES_COMMON_H*/