summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-02-27 01:35:55 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-02-27 01:35:55 +0100
commitf1fe7592561ba7cec3fee9dee9e7db9c2b3c6d3b (patch)
treea7346d18335fe25ae39bf9140b634853c92a18c9
parent55c35d62a3a6ae0d90db40c6e4a2d94d05be71e3 (diff)
Drop deprecated glibc option
* lockfile.c: Do not use _STDIO_USES_IOSTREAM condition any more.
-rw-r--r--lockfile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lockfile.c b/lockfile.c
index 040cbfb..644a0fb 100644
--- a/lockfile.c
+++ b/lockfile.c
@@ -21,8 +21,6 @@
#include <pthread.h> /* Must come before <stdio.h>! */
#include <stdio.h>
-#ifdef _STDIO_USES_IOSTREAM
-
void
_cthreads_flockfile (_IO_FILE *fp)
{
@@ -61,5 +59,3 @@ void funlockfile (_IO_FILE *)
__attribute__ ((alias ("_cthreads_funlockfile")));
int ftrylockfile (_IO_FILE *)
__attribute__ ((alias ("_cthreads_ftrylockfile")));
-
-#endif /* _STDIO_USES_IOSTREAM */