From 6a0ae483145159b0c903690c0313dbc03745c412 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu" Date: Sat, 19 Jul 2008 20:48:19 +0000 Subject: Compatibility cleanup release: kernels >= 2.6.16 and 2.4.36.x are supported. --- ipset.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipset.h') diff --git a/ipset.h b/ipset.h index 4ac2da9..ad43f65 100644 --- a/ipset.h +++ b/ipset.h @@ -108,7 +108,7 @@ struct settype { void (*create_final) (void *data, unsigned int flags); /* Pointer to list of extra command-line options for create */ - struct option *create_opts; + const struct option *create_opts; /* * Add/del/test IP @@ -165,7 +165,7 @@ extern void settype_register(struct settype *settype); /* extern void unregister_settype(set_type_t *set_type); */ -extern void exit_error(enum exittype status, char *msg, ...); +extern void exit_error(enum exittype status, const char *msg, ...); extern char *binding_ip_tostring(struct set *set, ip_set_ip_t ip, unsigned options); -- cgit v1.2.3