From fdba679afa5681557916095e393adcbecacbdc61 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 26 Sep 2009 10:48:50 +0200 Subject: [PATCH] libiptc: Comment out two unused static functions. Thanks to Sven Trenkel for noticing. --- src/owniptc/libiptc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/owniptc/libiptc.c b/src/owniptc/libiptc.c index f7a6640f..5e5fde08 100644 --- a/src/owniptc/libiptc.c +++ b/src/owniptc/libiptc.c @@ -1489,6 +1489,7 @@ TC_NEXT_RULE(const STRUCT_ENTRY *prev, TC_HANDLE_T *handle) } /* How many rules in this chain? */ +#if 0 static unsigned int TC_NUM_RULES(const char *chain, TC_HANDLE_T *handle) { @@ -1504,7 +1505,9 @@ TC_NUM_RULES(const char *chain, TC_HANDLE_T *handle) return c->num_rules; } +#endif +#if 0 static const STRUCT_ENTRY * TC_GET_RULE(const char *chain, unsigned int n, TC_HANDLE_T *handle) { @@ -1526,6 +1529,7 @@ TC_GET_RULE(const char *chain, unsigned int n, TC_HANDLE_T *handle) return NULL; return r->entry; } +#endif /* Returns a pointer to the target name of this position. */ static const char *standard_target_map(int verdict) -- 2.30.2