diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-08-02 22:58:54 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-08-09 22:09:34 +0200 |
commit | 53165ede24b106326d3762232435e0a28c10e1bb (patch) | |
tree | 110cc017b0858a98c5381b8ed012ca4af798898f /lib | |
parent | 63ebccdfe350d7e75bbb8e5511bcde26a7e300ad (diff) |
ippool_new(): const-ify input arguments
Change-Id: If3e53584e8c9c1f06bba4c183c9fd65fae913904
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ippool.c | 2 | ||||
-rw-r--r-- | lib/ippool.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ippool.c b/lib/ippool.c index c3eb267..3ca1b86 100644 --- a/lib/ippool.c +++ b/lib/ippool.c @@ -186,7 +186,7 @@ void in46a_inc(struct in46_addr *addr) } /* Create new address pool */ -int ippool_new(struct ippool_t **this, char *dyn, char *stat, +int ippool_new(struct ippool_t **this, const char *dyn, const char *stat, int allowdyn, int allowstat, int flags) { diff --git a/lib/ippool.h b/lib/ippool.h index 53154f2..e3c1c92 100644 --- a/lib/ippool.h +++ b/lib/ippool.h @@ -69,7 +69,7 @@ struct ippoolm_t { extern unsigned long int ippool_hash(struct in46_addr *addr); /* Create new address pool */ -extern int ippool_new(struct ippool_t **this, char *dyn, char *stat, +extern int ippool_new(struct ippool_t **this, const char *dyn, const char *stat, int allowdyn, int allowstat, int flags); /* Delete existing address pool */ |