Browse files

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 <>
Signed-off-by: Patrick McHardy <>
  • Loading branch information...
1 parent fcf5723 commit 390755ded5e4e8b0dcfa97443a95268bfa03e952 @ldv-alt ldv-alt committed with kaber Feb 18, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 libiptc/libip4tc.c
@@ -124,8 +124,8 @@ typedef unsigned int socklen_t;
#define IP_PARTS(n) IP_PARTS_NATIVE(ntohl(n))
-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;

0 comments on commit 390755d

Please sign in to comment.