summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/zconf.l
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-09-04 22:03:30 +0200
committerArnaud Lacombe <lacombar@gmail.com>2010-09-20 04:54:00 +0200
commit2e7a091833f014cac8a6b92573ca6cd2edd2753c (patch)
tree43ba1037f16dca5aba229a1a9b134b1ebb7b555f /scripts/kconfig/zconf.l
parentkconfig: don't emit warning upon rootmenu's prompt redefinition (diff)
downloadlinux-2e7a091833f014cac8a6b92573ca6cd2edd2753c.tar.xz
linux-2e7a091833f014cac8a6b92573ca6cd2edd2753c.zip
kconfig: constify file name
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/zconf.l')
-rw-r--r--scripts/kconfig/zconf.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l
index d8f7236cb0a3..2b0265082d0a 100644
--- a/scripts/kconfig/zconf.l
+++ b/scripts/kconfig/zconf.l
@@ -353,7 +353,7 @@ int zconf_lineno(void)
return current_pos.lineno;
}
-char *zconf_curname(void)
+const char *zconf_curname(void)
{
return current_pos.file ? current_pos.file->name : "<none>";
}