From cd662e64be1b10615e2fb44d5f3dc97eca905a31 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 4 Jan 2006 00:46:31 +0000 Subject: tweak __progname handling some more since some [bad] apps actually try and use it --- include/libc-internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libc-internal.h') diff --git a/include/libc-internal.h b/include/libc-internal.h index c85629042..2e372267f 100644 --- a/include/libc-internal.h +++ b/include/libc-internal.h @@ -440,6 +440,9 @@ extern int __gettimeofday(struct timeval *__restrict __tv, *__restrict __timezon # define __pthread_mutex_unlock(mutex) ((void)0) # endif +/* internal access to program name */ +extern const char *__uclibc_progname attribute_hidden; + # endif /* IS_IN_libc */ #endif /* __ASSEMBLER__ */ -- cgit v1.2.3