diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-05-26 13:14:06 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-05-26 13:14:06 +0200 |
commit | 69f564e3890976461de0016cd81171ff8bfa8353 (patch) | |
tree | 38feb577177b07ff5e21e3838c3ec5f021748489 /extensions/libxt_time.c | |
parent | 771871e1d9c39310cb6e2c595270d2e651309e6d (diff) |
extensions: add const qualifiers in print/save functions
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_time.c')
-rw-r--r-- | extensions/libxt_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_time.c b/extensions/libxt_time.c index eb8b671b..1c812602 100644 --- a/extensions/libxt_time.c +++ b/extensions/libxt_time.c @@ -406,7 +406,7 @@ static inline void divide_time(unsigned int fulltime, unsigned int *hours, static void time_print(const void *ip, const struct xt_entry_match *match, int numeric) { - struct xt_time_info *info = (void *)match->data; + const struct xt_time_info *info = (const void *)match->data; unsigned int h, m, s; printf("TIME "); |