mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd: newconf: Fix const correctness.
This commit is contained in:
parent
ac4dda1e67
commit
ffb2f63850
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ void newconf_init(void);
|
|||
int add_conf_item(const char *topconf, const char *name, int type, void (*func) (void *));
|
||||
int remove_conf_item(const char *topconf, const char *name);
|
||||
int add_top_conf(const char *name, int (*sfunc) (struct TopConf *), int (*efunc) (struct TopConf *), struct ConfEntry *items);
|
||||
int remove_top_conf(char *name);
|
||||
int remove_top_conf(const char *name);
|
||||
struct TopConf *find_top_conf(const char *name);
|
||||
struct ConfEntry *find_conf_item(const struct TopConf *top, const char *name);
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ find_conf_item(const struct TopConf *top, const char *name)
|
|||
}
|
||||
|
||||
int
|
||||
remove_top_conf(char *name)
|
||||
remove_top_conf(const char *name)
|
||||
{
|
||||
struct TopConf *tc;
|
||||
rb_dlink_node *ptr;
|
||||
|
|
Loading…
Reference in a new issue