summaryrefslogtreecommitdiffstats
path: root/include/xtables/internal.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-01-27 14:58:41 +0100
committerJan Engelhardt <jengelh@medozas.de>2009-01-27 23:14:29 +0100
commit630ef48037f3602333addfdb53789c9c6a4bb4c8 (patch)
tree9ef701688a9b5c1785f379413d810c8efec69ae8 /include/xtables/internal.h
parente917bca09924435f3fca23c01042543b1826c81e (diff)
libxtables: prefix/order - fw_xalloc
It is good practice to prefix names in a library some way so that it does not clash with external programs' variable names right on the first try. This change: rename fw_[cm]alloc to xtables_[cm]alloc and move the definition from internal.h to xtables.h to avoid potential compiler warnings. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/xtables/internal.h')
-rw-r--r--include/xtables/internal.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/xtables/internal.h b/include/xtables/internal.h
index 24a5078b..6b78d3a8 100644
--- a/include/xtables/internal.h
+++ b/include/xtables/internal.h
@@ -43,9 +43,6 @@ struct xtables_rule_match {
extern char *lib_dir;
-extern void *fw_calloc(size_t count, size_t size);
-extern void *fw_malloc(size_t size);
-
extern const char *modprobe_program;
extern int xtables_insmod(const char *modname, const char *modprobe, int quiet);
extern int load_xtables_ko(const char *modprobe, int quiet);