diff options
Diffstat (limited to 'utils/getconf.c')
-rw-r--r-- | utils/getconf.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/getconf.c b/utils/getconf.c index 4c058a080..dba4a9e8c 100644 --- a/utils/getconf.c +++ b/utils/getconf.c @@ -1053,10 +1053,8 @@ static const struct { const char *name; int num; } specs[] = }; static const int nspecs = sizeof (specs) / sizeof (specs[0]); -#ifdef __UCLIBC_HAS___PROGNAME__ -extern const char *__progname; -#else -#define __progname "foo" +#ifndef __UCLIBC_HAS___PROGNAME__ +static const char *__progname = "getconf" #endif static attribute_noreturn void |