ipset: fixup compile warnings

And add a few const here and there.
This commit is contained in:
Jan Engelhardt
2008-07-07 10:36:35 +02:00
parent 9d696b727a
commit 29aea5a87b
11 changed files with 157 additions and 142 deletions

View File

@@ -107,7 +107,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
@@ -164,7 +164,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);