From 76fe441a7bf75d73962641b785f158b5cc9dc7f8 Mon Sep 17 00:00:00 2001 From: markm Date: Fri, 29 Mar 2002 22:43:43 +0000 Subject: Do not use __progname directly (except in [gs]etprogname(3)). Also, make an internal _getprogname() that is used only inside libc. For libc, getprogname(3) is a weak symbol in case a function of the same name is defined in userland. --- lib/libc/include/namespace.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libc/include/namespace.h') diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 7753f98..bbd33c0 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -67,6 +67,7 @@ #define getdirentries _getdirentries #define getlogin _getlogin #define getpeername _getpeername +#define getprogname _getprogname #define getsockname _getsockname #define getsockopt _getsockopt #define ioctl _ioctl -- cgit v1.1