diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-01-28 13:53:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-01-28 13:53:14 +0000 |
commit | d328b80b4e2620e0f34271a069b09c05ac16831d (patch) | |
tree | 1a4411dde3519fd834471a3ae11afc7366c1eb56 /libio | |
parent | 51e176c2c2cd6d62d7619efb4aab569ded5a2416 (diff) | |
download | glibc-d328b80b4e2620e0f34271a069b09c05ac16831d.tar.gz glibc-d328b80b4e2620e0f34271a069b09c05ac16831d.tar.xz glibc-d328b80b4e2620e0f34271a069b09c05ac16831d.zip |
Update.
* libio/genops.c (_IO_un_link): Move #ifdef introduced in last change in right place. * sysdeps/unix/sysv/linux/sys/timex.h: Add MAXTC from kernel header. Suggested by Thomas Quinot <thomas@Cuivre.FR.EU.ORG>. 1999-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de> * libio/getc_u.c (__getc_unlocked): Avoid compiler warning. 1999-01-28 Ulrich Drepper <drepper@cygnus.com>
Diffstat (limited to 'libio')
-rw-r--r-- | libio/genops.c | 2 | ||||
-rw-r--r-- | libio/getc_u.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libio/genops.c b/libio/genops.c index f925b0d87b..81752e3ccc 100644 --- a/libio/genops.c +++ b/libio/genops.c @@ -41,8 +41,8 @@ _IO_un_link (fp) { if (fp->_flags & _IO_LINKED) { -#ifdef _IO_MTSAFE_IO _IO_FILE **f; +#ifdef _IO_MTSAFE_IO _IO_lock_lock (list_all_lock); #endif for (f = &_IO_list_all; *f != NULL; f = &(*f)->_chain) diff --git a/libio/getc_u.c b/libio/getc_u.c index 5572ef6b3e..a722a315f2 100644 --- a/libio/getc_u.c +++ b/libio/getc_u.c @@ -29,8 +29,7 @@ #undef getc_unlocked int -__getc_unlocked (fp) - FILE *fp; +__getc_unlocked (FILE *fp) { CHECK_FILE (fp, EOF); return _IO_getc_unlocked (fp); |