about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1996-09-13 05:28:59 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1996-09-13 05:28:59 +0000
commit39a0b056676c206b077a8cb9fb18fbe2d66bcc62 (patch)
treee78c417c3f01d2fd714c154ae37fe7b4dfc73f36 /stdio-common
parenta8ed817809c5579aadab8b51587b393bf2701abc (diff)
downloadglibc-39a0b056676c206b077a8cb9fb18fbe2d66bcc62.tar.gz
glibc-39a0b056676c206b077a8cb9fb18fbe2d66bcc62.tar.xz
glibc-39a0b056676c206b077a8cb9fb18fbe2d66bcc62.zip
*** empty log message ***
Fri Sep 13 01:21:36 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* sysdeps/generic/schedbits.h (struct sched_param): Renamed from
	struct sched_params.
	* sysdeps/stub/sched_setp.c (__sched_setparam): struct
	sched_params -> struct sched_param.
	* sysdeps/stub/sched_getp.c (__sched_getparam): Likewise.
	* sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/Makefile7
-rw-r--r--stdio-common/vfprintf.c8
2 files changed, 2 insertions, 13 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 4b9ec71338..8c7bae9c45 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -32,11 +32,8 @@ routines	:=							      \
 	perror psignal							      \
 	tmpfile tmpnam tempnam tempname					      \
 	getline getw putw						      \
-	remove rename
-
-ifneq (,$(filter %REENTRANT, $(defines)))
-routines += lockfile
-endif
+	remove rename							      \
+	lockfile
 
 aux	:= errlist siglist
 distribute := _itoa.h printf-parse.h
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
index 1316adacbf..b2523574a8 100644
--- a/stdio-common/vfprintf.c
+++ b/stdio-common/vfprintf.c
@@ -152,14 +152,9 @@ ssize_t __wprintf_pad __P ((FILE *, wchar_t pad, size_t n));
 # define is_longlong is_long_double
 #endif
 
-
-#ifdef _LIBC_REENTRANT
 extern void __flockfile (FILE *);
 weak_extern (__flockfile);
 extern void __funlockfile (FILE *);
-weak_extern (__funlockfile);
-#endif
-
 
 /* Global variables.  */
 static const char null[] = "(null)";
@@ -1312,10 +1307,7 @@ do_positional:
 
 all_done:
   /* Unlock the stream.  */
-#ifdef USE_IN_LIBIO
-  /* (stdio has no locking yet.) */
   __libc_cleanup_region_end (1);
-#endif
 
   return done;
 }