[iptables] libip4tc: Add static qualifier to dump_entry()
Patrick McHardy
netfilter-cvslog-bounces at lists.netfilter.org
Thu Feb 18 18:09:08 CET 2010
Gitweb: http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commit;h=390755ded5e4e8b0dcfa97443a95268bfa03e952
commit 390755ded5e4e8b0dcfa97443a95268bfa03e952
Author: Dmitry V. Levin <ldv at altlinux.org>
AuthorDate: Thu Feb 18 18:08:31 2010 +0100
Commit: Patrick McHardy <kaber at trash.net>
CommitDate: Thu Feb 18 18:08:31 2010 +0100
libip4tc: Add static qualifier to dump_entry()
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 at altlinux.org>
Signed-off-by: Patrick McHardy <kaber at trash.net>
via 390755ded5e4e8b0dcfa97443a95268bfa03e952 (commit)
from fcf5723f415c81fcb2c93094cdcc39b35a316ff2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 390755ded5e4e8b0dcfa97443a95268bfa03e952
Author: Dmitry V. Levin <ldv at altlinux.org>
Date: Thu Feb 18 18:08:31 2010 +0100
libip4tc: Add static qualifier to dump_entry()
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 at altlinux.org>
Signed-off-by: Patrick McHardy <kaber at trash.net>
-----------------------------------------------------------------------
libiptc/libip4tc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
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 at altlinux.org>
Signed-off-by: Patrick McHardy <kaber at trash.net>
diff --git a/libiptc/libip4tc.c b/libiptc/libip4tc.c
index 3c7b073..0c64ac8 100644
--- a/libiptc/libip4tc.c
+++ b/libiptc/libip4tc.c
@@ -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;
More information about the netfilter-cvslog
mailing list