summaryrefslogtreecommitdiff
path: root/libio/iofopen64.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 15:26:46 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 15:26:46 +0000
commitdf6d86d8822458cf787b5f5620490d6a962da3b8 (patch)
tree8d499fa24a32a195bd6e384dfb70639c45c4a9bb /libio/iofopen64.c
parent2c7242b971fd7b63fa842df15ec6fa3d0ff8aeb0 (diff)
parent1949a12d5da678a8532359a95717d8e63910d93b (diff)
Merge commit 'refs/top-bases/t/____longjmp_chk' into t/____longjmp_chkt/____longjmp_chk
Diffstat (limited to 'libio/iofopen64.c')
-rw-r--r--libio/iofopen64.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libio/iofopen64.c b/libio/iofopen64.c
index daf722432d..e3c7c29903 100644
--- a/libio/iofopen64.c
+++ b/libio/iofopen64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1993-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,16 +29,14 @@
#include <stdlib.h>
/* iofopen.c defines _IO_fopen64/fopen64 as aliases if O_LARGEFILE==0. */
-#if !defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)
+#if defined O_LARGEFILE && O_LARGEFILE != 0
-_IO_FILE *
+FILE *
_IO_fopen64 (const char *filename, const char *mode)
{
return __fopen_internal (filename, mode, 0);
}
-#ifdef weak_alias
weak_alias (_IO_fopen64, fopen64)
-#endif
#endif