summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-16 22:17:11 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-16 22:17:11 +0000
commit0a1063f471355de723393cb968ac9324de1d185d (patch)
treee2d4885e0c194e8420d11ece77b154b743366962 /stdio-common
parent9634cf9d4f30861dbf3ee057a1219227d8c8f19d (diff)
downloadglibc-0a1063f471355de723393cb968ac9324de1d185d.tar.gz
glibc-0a1063f471355de723393cb968ac9324de1d185d.tar.xz
glibc-0a1063f471355de723393cb968ac9324de1d185d.zip
Update.
2002-12-16  Ulrich Drepper  <drepper@redhat.com>

	* stdio-common/Makefile (routines): Remove lockfile.  Add
	flockfile, ftrylockfile, and funlockfile.
	* sysdeps/generic/lockfile.c: Removed.  Each function has its own file.
	* sysdeps/generic/flockfile.c: New file.
	* sysdeps/generic/ftrylockfile.c: New file.
	* sysdeps/generic/funlockfile.c: New file.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 802e4e37e8..ea6da1d0b1 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -34,7 +34,7 @@ routines	:=							      \
 	tmpfile tmpfile64 tmpnam tmpnam_r tempnam tempname		      \
 	getline getw putw						      \
 	remove rename							      \
-	lockfile
+	flockfile ftrylockfile funlockfile
 
 install-others = $(inst_includedir)/bits/stdio_lim.h
 
@@ -87,8 +87,6 @@ tst-sscanf-ENV = LOCPATH=$(common-objpfx)localedata
 tst-swprintf-ENV = LOCPATH=$(common-objpfx)localedata
 test-vfprintf-ENV = LOCPATH=$(common-objpfx)localedata
 
-ifeq ($(stdio),libio)
 ifneq (,$(filter %REENTRANT, $(defines)))
 CPPFLAGS += -D_IO_MTSAFE_IO
 endif
-endif