]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libip4tc: Add static qualifier to dump_entry()
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 18 Feb 2010 17:08:31 +0000 (18:08 +0100)
committerPatrick McHardy <kaber@trash.net>
Thu, 18 Feb 2010 17:08:31 +0000 (18:08 +0100)
Change dump_entry() signature defined in libip4tc.c to match prototype
declared in libiptc.c and another static dump_entry() function defined
in libip6tc.c.  This function is not a part of the public libiptc API.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
libiptc/libip4tc.c

index 3c7b0738cc3c87e0615cc0ce60d03c94f19f4abf..0c64ac8b191edabbf7b49965de88d3991fe65d52 100644 (file)
@@ -124,8 +124,8 @@ typedef unsigned int socklen_t;
 
 #define IP_PARTS(n) IP_PARTS_NATIVE(ntohl(n))
 
-int
-dump_entry(STRUCT_ENTRY *e, struct iptc_handle *const handle)
+static int
+dump_entry(struct ipt_entry *e, struct iptc_handle *const handle)
 {
        size_t i;
        STRUCT_ENTRY_TARGET *t;