From ced52c719c2100b3eef082ea737ecb2dbc6a0ebf Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 18 Oct 2012 18:50:43 +0000 Subject: Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h. --- libio/oldiofgetpos64.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libio/oldiofgetpos64.c') 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 -- cgit 1.4.1