From e095485cdbd8c77560e23f3df9b33708bc64ac8e Mon Sep 17 00:00:00 2001 From: John Birrell Date: Tue, 5 May 1998 22:02:29 +0000 Subject: [PATCH] Remove leading underscores from the FILE lock functions that POSIX specifies. --- lib/libc/include/libc_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index 74afd351750..b8248824a9b 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: libc_private.h,v 1.1 1998/04/11 06:57:33 jb Exp $ * * Private definitions for libc, libc_r and libpthread. * @@ -53,7 +53,7 @@ extern int __isthreaded; #ifdef _FLOCK_DEBUG #define _FLOCKFILE(x) _flockfile_debug(x, __FILE__, __LINE__) #else -#define _FLOCKFILE(x) _flockfile(x) +#define _FLOCKFILE(x) flockfile(x) #endif /* @@ -61,6 +61,6 @@ extern int __isthreaded; * process is threaded to avoid locking when not required. */ #define FLOCKFILE(fp) if (__isthreaded) _FLOCKFILE(fp) -#define FUNLOCKFILE(fp) if (__isthreaded) _funlockfile(fp) +#define FUNLOCKFILE(fp) if (__isthreaded) funlockfile(fp) #endif /* _LIBC_PRIVATE_H_ */