path: root/include/xtables/internal.h
diff options
authorJan Engelhardt <>2009-02-01 21:38:14 +0100
committerPablo Neira Ayuso <>2009-02-01 21:38:14 +0100
commit43270796c709584b67343c333adaf28faea56265 (patch)
tree79b5f325011d8c441de3355daa379b7a0d368e83 /include/xtables/internal.h
parentea268e19a8b820cce4bab3318e656efa51134487 (diff)
libbxtables: prefix names and order it #1
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. These functions are intended to fix Jamal's dependency problem in his tc's ipt action. Signed-off-by: Jan Engelhardt <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/xtables/internal.h')
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);