summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_time.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2007-10-04 16:27:07 +0000
committerPatrick McHardy <kaber@trash.net>2007-10-04 16:27:07 +0000
commit181dead3f13befe02769ef479bcbb51801b7fc4e (patch)
tree37c29ea4f70d8c72a1a9910b8c775fc8d77bd148 /extensions/libxt_time.c
parent926bde877f8182e7db4d057969dc8293e81fd6cf (diff)
Unique symbols 1/6
Give symbols of libxt matches unique names (1/3). Adds unique prefixes to all functions (most of them - especially the hook functions) so that debugging programs can unambiguously map a symbol to an address. Also unifies the names of the xtables_match/xtables_target structs, (based upon libxt_connmark.c/libip6t_*.c). Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libxt_time.c')
-rw-r--r--extensions/libxt_time.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libxt_time.c b/extensions/libxt_time.c
index a766f110..9c1f155a 100644
--- a/extensions/libxt_time.c
+++ b/extensions/libxt_time.c
@@ -463,7 +463,7 @@ static void time_save(const void *ip, const struct xt_entry_match *match)
printf("--utc ");
}
-static struct xtables_match time_reg = {
+static struct xtables_match time_match = {
.name = "time",
.family = AF_INET,
.version = IPTABLES_VERSION,
@@ -477,7 +477,7 @@ static struct xtables_match time_reg = {
.extra_opts = time_opts,
};
-static struct xtables_match time6_reg = {
+static struct xtables_match time_match6 = {
.name = "time",
.family = AF_INET6,
.version = IPTABLES_VERSION,
@@ -493,6 +493,6 @@ static struct xtables_match time6_reg = {
void _init(void)
{
- xtables_register_match(&time_reg);
- xtables_register_match(&time6_reg);
+ xtables_register_match(&time_match);
+ xtables_register_match(&time_match6);
}