summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio64/fopen64.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2007-05-01 23:03:36 +0000
committerEric Blake <eblake@redhat.com>2007-05-01 23:03:36 +0000
commitb4f095585f1e139cba8d2e078c807e384b3e102d (patch)
treee7ee261d556586898030b9ac5252c6a2ab3d5c1d /newlib/libc/stdio64/fopen64.c
parent2babeb3d94cb8a507ca12b46252995b453600290 (diff)
downloadcygnal-b4f095585f1e139cba8d2e078c807e384b3e102d.tar.gz
cygnal-b4f095585f1e139cba8d2e078c807e384b3e102d.tar.bz2
cygnal-b4f095585f1e139cba8d2e078c807e384b3e102d.zip
* libc/stdio64/local64.h: Delete, move contents to...
* libc/stdio/local.h: ...here. * libc/stdio64/fdopen64.c: Update includes. * libc/stdio64/fopen64.c: Likewise. * libc/stdio64/freopen64.c: Likewise. * libc/stdio64/fseeko64.c: Likewise. * libc/stdio64/ftello64.c: Likewise. * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout, and stderr with 64-bit offset. * libc/stdio/fseek.c (_fseek_r): Avoid compile warning. * libc/stdio/makebuf.c (__smakebuf_r): Likewise. * libc/stdio/mktemp.c (_gettemp): Likewise.
Diffstat (limited to 'newlib/libc/stdio64/fopen64.c')
-rw-r--r--newlib/libc/stdio64/fopen64.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/stdio64/fopen64.c b/newlib/libc/stdio64/fopen64.c
index 61c4e4f45..aa6775116 100644
--- a/newlib/libc/stdio64/fopen64.c
+++ b/newlib/libc/stdio64/fopen64.c
@@ -27,7 +27,7 @@ INDEX
ANSI_SYNOPSIS
#include <stdio.h>
FILE *fopen64(const char *<[file]>, const char *<[mode]>);
- FILE *_fopen64_r(void *<[reent]>,
+ FILE *_fopen64_r(void *<[reent]>,
const char *<[file]>, const char *<[mode]>);
TRAD_SYNOPSIS
@@ -66,7 +66,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
#include <stdio.h>
#include <errno.h>
-#include "local64.h"
+#include "local.h"
#ifdef __CYGWIN__
#include <fcntl.h>
#endif
@@ -91,12 +91,12 @@ _DEFUN (_fopen64_r, (ptr, file, mode),
if ((f = _open64_r (ptr, file, oflags, 0666)) < 0)
{
- __sfp_lock_acquire ();
+ __sfp_lock_acquire ();
fp->_flags = 0; /* release */
#ifndef __SINGLE_THREAD__
__lock_close_recursive (fp->_lock);
#endif
- __sfp_lock_release ();
+ __sfp_lock_release ();
return NULL;
}