diff options
author | Sam Ravnborg <sam@neptun.ravnborg.org> | 2007-04-01 22:29:38 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-02 20:58:09 +0200 |
commit | d802b50f0d63d2d18d8dae15d7e3285e99e7e7b6 (patch) | |
tree | 0bd7ed7e400b0b247046c27210a28f0d06e3a685 /scripts/kconfig/lkc.h | |
parent | 87c94bfb8ad354fb43d2caf870d7ca0b3f98dab3 (diff) | |
download | lwn-d802b50f0d63d2d18d8dae15d7e3285e99e7e7b6.tar.gz lwn-d802b50f0d63d2d18d8dae15d7e3285e99e7e7b6.zip |
kconfig/menuconfig: do not hardcode '.config'
Export and use the function conf_get_configname()
to retreive the default configuration filename.
Suggested by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r-- | scripts/kconfig/lkc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index 9b2706a41548..8a07ee4f6bd4 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h @@ -64,6 +64,7 @@ int zconf_lineno(void); char *zconf_curname(void); /* confdata.c */ +const char *conf_get_configname(void); char *conf_get_default_confname(void); void sym_set_change_count(int count); void sym_add_change_count(int count); |