about summary refs log tree commit diff
path: root/libio/oldiofgetpos64.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/oldiofgetpos64.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/oldiofgetpos64.c')
-rw-r--r--libio/oldiofgetpos64.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libio/oldiofgetpos64.c b/libio/oldiofgetpos64.c
index c5a35e7917..bef8bc45ea 100644
--- a/libio/oldiofgetpos64.c
+++ b/libio/oldiofgetpos64.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995, 1996, 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_fgetpos64 (fp, posp)
      _IO_FILE *fp;
      _IO_fpos64_t *posp;
 {
-#ifdef _G_LSEEK64
   _IO_off64_t pos;
   CHECK_FILE (fp, EOF);
   _IO_acquire_lock (fp);
@@ -57,10 +55,6 @@ _IO_old_fgetpos64 (fp, posp)
     }
   posp->__pos = pos;
   return 0;
-#else
-  __set_errno (ENOSYS);
-  return EOF;
-#endif
 }
 
 #ifdef weak_alias