about summary refs log tree commit diff
path: root/libio/oldiofsetpos64.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-18 18:50:43 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-18 18:50:43 +0000
commitced52c719c2100b3eef082ea737ecb2dbc6a0ebf (patch)
tree28365935b5d2ab36a7629e3c294a088784948409 /libio/oldiofsetpos64.c
parentb741de23e214763ba4ffcd95829315dd315897ea (diff)
downloadglibc-ced52c719c2100b3eef082ea737ecb2dbc6a0ebf.tar.gz
glibc-ced52c719c2100b3eef082ea737ecb2dbc6a0ebf.tar.xz
glibc-ced52c719c2100b3eef082ea737ecb2dbc6a0ebf.zip
Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h.
Diffstat (limited to 'libio/oldiofsetpos64.c')
-rw-r--r--libio/oldiofsetpos64.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libio/oldiofsetpos64.c b/libio/oldiofsetpos64.c
index 039318aed1..23cb693d3a 100644
--- a/libio/oldiofsetpos64.c
+++ b/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