summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 36f72a6)
raw | patch | inline | side by side (parent: 36f72a6)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 24 May 2008 18:32:43 +0000 (20:32 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 27 May 2008 11:15:25 +0000 (13:15 +0200) |
This fixes an "assignment discards qualifiers from pointer target type"
warning. That string stores the name of the config file which is not
going to be modified by liboconfig.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
warning. That string stores the name of the config file which is not
going to be modified by liboconfig.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/liboconfig/oconfig.c | patch | blob | history |
index 8cc3c8abc616b640e0d45a1eb672c60d2d47df1d..79b53aec8825f858c87d4b83682b9b99450496be 100644 (file)
--- a/src/liboconfig/oconfig.c
+++ b/src/liboconfig/oconfig.c
extern FILE *yyin;
oconfig_item_t *ci_root;
-char *c_file;
+const char *c_file;
static void yyset_in (FILE *fd)
{