path: root/include/
diff options
authorJan Engelhardt <>2009-01-27 14:58:41 +0100
committerJan Engelhardt <>2009-01-27 23:14:29 +0100
commit630ef48037f3602333addfdb53789c9c6a4bb4c8 (patch)
tree9ef701688a9b5c1785f379413d810c8efec69ae8 /include/
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 <>
Diffstat (limited to 'include/')
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ b/include/
index 8327c426..e63d171e 100644
--- a/include/
+++ b/include/
@@ -140,6 +140,9 @@ struct xtables_target
+extern void *xtables_calloc(size_t, size_t);
+extern void *xtables_malloc(size_t);
/* Your shared library should call one of these. */
extern void xtables_register_match(struct xtables_match *me);
extern void xtables_register_target(struct xtables_target *me);