diff options
author | jb <jb@FreeBSD.org> | 1998-05-05 22:02:29 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-05 22:02:29 +0000 |
commit | f615de946e225e9f195e9c200db8018be3704636 (patch) | |
tree | 8f3f7870e1355c9daf6c84e0cfb6d3bd325a3795 /lib/libc/include | |
parent | 954e81147d8b728eda4693b583b50ff36a84e0ce (diff) | |
download | FreeBSD-src-f615de946e225e9f195e9c200db8018be3704636.zip FreeBSD-src-f615de946e225e9f195e9c200db8018be3704636.tar.gz |
Remove leading underscores from the FILE lock functions that POSIX
specifies.
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/libc_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index 74afd35..b824882 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_ */ |