diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-27 17:16:26 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-01-27 17:16:29 +0100 |
commit | 825c317eedc12e1c8c93e22a96bc423d27b3c1f4 (patch) | |
tree | 057605e76712fc95fa2ac1fe95dfd9b1fedec0ff /extensions | |
parent | ea268e19a8b820cce4bab3318e656efa51134487 (diff) |
src: remove redundant returns at end of void-returning functions
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libip6t_ipv6header.c | 4 | ||||
-rw-r--r-- | extensions/libxt_DSCP.c | 1 | ||||
-rw-r--r-- | extensions/libxt_NFQUEUE.c | 1 | ||||
-rw-r--r-- | extensions/libxt_dscp.c | 1 | ||||
-rw-r--r-- | extensions/libxt_u32.c | 2 |
5 files changed, 0 insertions, 9 deletions
diff --git a/extensions/libip6t_ipv6header.c b/extensions/libip6t_ipv6header.c index 30061244..1fc9b7e9 100644 --- a/extensions/libip6t_ipv6header.c +++ b/extensions/libip6t_ipv6header.c @@ -262,8 +262,6 @@ static void ipv6header_print(const void *ip, if (info->modeflag) printf("soft "); - - return; } static void ipv6header_save(const void *ip, const struct xt_entry_match *match) @@ -276,8 +274,6 @@ static void ipv6header_save(const void *ip, const struct xt_entry_match *match) printf(" "); if (info->modeflag) printf("--soft "); - - return; } static struct xtables_match ipv6header_mt6_reg = { diff --git a/extensions/libxt_DSCP.c b/extensions/libxt_DSCP.c index 6625db11..c9b03272 100644 --- a/extensions/libxt_DSCP.c +++ b/extensions/libxt_DSCP.c @@ -57,7 +57,6 @@ parse_dscp(const char *s, struct xt_DSCP_info *dinfo) "DSCP `%d` out of range\n", dscp); dinfo->dscp = (u_int8_t )dscp; - return; } diff --git a/extensions/libxt_NFQUEUE.c b/extensions/libxt_NFQUEUE.c index 7daed18e..58807853 100644 --- a/extensions/libxt_NFQUEUE.c +++ b/extensions/libxt_NFQUEUE.c @@ -38,7 +38,6 @@ parse_num(const char *s, struct xt_NFQ_info *tinfo) "Invalid queue number `%s'\n", s); tinfo->queuenum = num & 0xffff; - return; } static int diff --git a/extensions/libxt_dscp.c b/extensions/libxt_dscp.c index eefb186b..bb794f50 100644 --- a/extensions/libxt_dscp.c +++ b/extensions/libxt_dscp.c @@ -57,7 +57,6 @@ parse_dscp(const char *s, struct xt_dscp_info *dinfo) "DSCP `%d` out of range\n", dscp); dinfo->dscp = (u_int8_t )dscp; - return; } diff --git a/extensions/libxt_u32.c b/extensions/libxt_u32.c index 256d15fc..f0bb61a3 100644 --- a/extensions/libxt_u32.c +++ b/extensions/libxt_u32.c @@ -254,7 +254,6 @@ static void u32_print(const void *ip, const struct xt_entry_match *match, if (data->invert) printf("! "); u32_dump(data); - return; } static void u32_save(const void *ip, const struct xt_entry_match *match) @@ -264,7 +263,6 @@ static void u32_save(const void *ip, const struct xt_entry_match *match) printf("! "); printf("--u32 "); u32_dump(data); - return; } static struct xtables_match u32_match = { |