summaryrefslogtreecommitdiff
path: root/conf/conf.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-02-25 17:19:47 +0100
committerMaria Matejka <mq@ucw.cz>2019-02-25 17:22:59 +0100
commit99911873a196975f5221aad89ae5eac42e1330e0 (patch)
tree5a4f0fddea9ce95d37a818f1f499544da2fe0cb9 /conf/conf.h
parent412614c700085ac964b07ff9405403eaf02fa5b4 (diff)
Conf: Lexer parses quoted strings in a more descriptive way
Diffstat (limited to 'conf/conf.h')
-rw-r--r--conf/conf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/conf.h b/conf/conf.h
index 21d4f1e2..acb3413b 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -167,9 +167,9 @@ int cf_lex(void);
void cf_lex_init(int is_cli, struct config *c);
void cf_lex_unwind(void);
-struct symbol *cf_find_symbol(struct config *cfg, byte *c);
+struct symbol *cf_find_symbol(struct config *cfg, const byte *c);
-struct symbol *cf_get_symbol(byte *c);
+struct symbol *cf_get_symbol(const byte *c);
struct symbol *cf_default_name(char *template, int *counter);
struct symbol *cf_localize_symbol(struct symbol *sym);