0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-21 19:38:22 +02:00

ircd: newconf: Fix const correctness.

This commit is contained in:
Jason Volk 2016-07-15 00:58:23 -07:00
parent ac4dda1e67
commit ffb2f63850
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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;