From ddac6c5bc636003d664d25c08ea3fe176565096c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 1 Sep 2008 14:22:19 +0200 Subject: src: Update comments A number of comments are redundant, some outdated and others outright wrong in their own way. Remove and fixup. Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy --- extensions/libxt_quota.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'extensions/libxt_quota.c') diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c index 8e178fe7..5007f7cb 100644 --- a/extensions/libxt_quota.c +++ b/extensions/libxt_quota.c @@ -16,14 +16,12 @@ static const struct option quota_opts[] = { { .name = NULL } }; -/* print usage */ static void quota_help(void) { printf("quota match options:\n" " --quota quota quota (bytes)\n"); } -/* print matchinfo */ static void quota_print(const void *ip, const struct xt_entry_match *match, int numeric) { @@ -31,7 +29,6 @@ quota_print(const void *ip, const struct xt_entry_match *match, int numeric) printf("quota: %llu bytes", (unsigned long long) q->quota); } -/* save matchinfo */ static void quota_save(const void *ip, const struct xt_entry_match *match) { @@ -55,7 +52,6 @@ parse_quota(const char *s, u_int64_t * quota) return 1; } -/* parse all options, returning true if we found any for us */ static int quota_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) -- cgit v1.2.3