summaryrefslogtreecommitdiff
path: root/libc/libio/oldiofsetpos64.c
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-10-25 17:18:12 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2012-10-25 17:18:12 +0000
commitd9732ccbecc3dd820e2f6496e792f5e839208312 (patch)
treeb8f21a4f63875068370dbc498c5e7919a7a6ca3e /libc/libio/oldiofsetpos64.c
parent12348b1583437f6382553bde4a32c2615216fec6 (diff)
downloadeglibc2-d9732ccbecc3dd820e2f6496e792f5e839208312.tar.gz
Merge changes between r21108 and r21352 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@21353 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/libio/oldiofsetpos64.c')
-rw-r--r--libc/libio/oldiofsetpos64.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libc/libio/oldiofsetpos64.c b/libc/libio/oldiofsetpos64.c
index 039318aed..23cb693d3 100644
--- a/libc/libio/oldiofsetpos64.c
+++ b/libc/libio/oldiofsetpos64.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997, 1998, 1999, 2000, 2002, 2003, 2004
- Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
@@ -37,7 +36,6 @@ _IO_old_fsetpos64 (fp, posp)
_IO_FILE *fp;
const _IO_fpos64_t *posp;
{
-#ifdef _G_LSEEK64
int result;
CHECK_FILE (fp, EOF);
_IO_acquire_lock (fp);
@@ -56,10 +54,6 @@ _IO_old_fsetpos64 (fp, posp)
result = 0;
_IO_release_lock (fp);
return result;
-#else
- __set_errno (ENOSYS);
- return EOF;
-#endif
}
#ifdef weak_alias