summaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authornathanw <nathanw@NetBSD.org>2003-07-18 21:51:22 +0000
committernathanw <nathanw@NetBSD.org>2003-07-18 21:51:22 +0000
commit2b293cab667ff06bdd10c49df642be00e5d82799 (patch)
tree97156c8e869b5bf8c13fc77e6e3fade52774de72 /lib/libc/include
parentad09d62fccedf9d8cbddb98aaa2b917136d9802d (diff)
Adapt definition of FLOCKFILE()/FUNLOCKFILE() to new __flockfile_internal()
routines.
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/reentrant.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/include/reentrant.h b/lib/libc/include/reentrant.h
index 717170a2048..aa0e4692e6f 100644
--- a/lib/libc/include/reentrant.h
+++ b/lib/libc/include/reentrant.h
@@ -1,4 +1,4 @@
-/* $NetBSD: reentrant.h,v 1.8 2003/01/19 19:25:05 thorpej Exp $ */
+/* $NetBSD: reentrant.h,v 1.9 2003/07/18 21:51:22 nathanw Exp $ */
/*-
* Copyright (c) 1997, 1998, 2003 The NetBSD Foundation, Inc.
@@ -97,8 +97,8 @@
#include <threadlib.h>
-#define FLOCKFILE(fp) flockfile(fp)
-#define FUNLOCKFILE(fp) funlockfile(fp)
+#define FLOCKFILE(fp) __flockfile_internal(fp, 1)
+#define FUNLOCKFILE(fp) __funlockfile_internal(fp, 1)
#else /* _REENTRANT */