]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Fix unused function warning
authorPatrick McHardy <kaber@trash.net>
Sat, 8 Sep 2007 16:52:25 +0000 (16:52 +0000)
committerPatrick McHardy <kaber@trash.net>
Sat, 8 Sep 2007 16:52:25 +0000 (16:52 +0000)
libiptc/libiptc.c

index 9e4571ce0afd2e2b8882993d674c68772603dd2d..472b81e01928b529ddbb890896f660ec024eb74e 100644 (file)
@@ -915,7 +915,7 @@ TC_DUMP_ENTRIES(const TC_HANDLE_T handle)
 {
        iptc_fn = TC_DUMP_ENTRIES;
        CHECK(handle);
-#if 0
+
        printf("libiptc v%s. %u bytes.\n",
               IPTABLES_VERSION, handle->entries->size);
        printf("Table `%s'\n", handle->info.name);
@@ -934,7 +934,6 @@ TC_DUMP_ENTRIES(const TC_HANDLE_T handle)
 
        ENTRY_ITERATE(handle->entries->entrytable, handle->entries->size,
                      dump_entry, handle);
-#endif
 }
 
 /* Does this chain exist? */