netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libip4tc: Add static qualifier to dump_entry()
@ 2010-02-18 16:40 Dmitry V. Levin
  2010-02-18 17:08 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry V. Levin @ 2010-02-18 16:40 UTC (permalink / raw)
  To: netfilter-devel

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>
---
 libiptc/libip4tc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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;
-- 
ldv

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libip4tc: Add static qualifier to dump_entry()
  2010-02-18 16:40 [PATCH] libip4tc: Add static qualifier to dump_entry() Dmitry V. Levin
@ 2010-02-18 17:08 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2010-02-18 17:08 UTC (permalink / raw)
  To: Dmitry V. Levin; +Cc: netfilter-devel

Dmitry V. Levin wrote:
> 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.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-18 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 16:40 [PATCH] libip4tc: Add static qualifier to dump_entry() Dmitry V. Levin
2010-02-18 17:08 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).