From bcc1a1625ceb1d44514e079e97102febb14ce9c1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 24 Aug 2007 14:55:24 +0200 Subject: * src/system.h (fseeko, ftello): Remove now-unneeded definitions. --- ChangeLog | 1 + src/system.h | 15 --------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index df8dfa65f..62bac77e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2007-08-24 Jim Meyering + * src/system.h (fseeko, ftello): Remove now-unneeded definitions. * src/od.c (LDBL_DIG): Remove now-unneeded definition. Arrange to use tag names like vM.N, rather than COREUTILS-M_N. diff --git a/src/system.h b/src/system.h index 2c4bfd345..a0a4942b5 100644 --- a/src/system.h +++ b/src/system.h @@ -504,21 +504,6 @@ enum # define EOVERFLOW EINVAL #endif -#if ! HAVE_FSEEKO -# if ! defined fseeko -# define fseeko(s, o, w) ((o) == (long int) (o) \ - ? fseek (s, o, w) \ - : (errno = EOVERFLOW, -1)) -# endif -# if ! defined ftello -static inline off_t ftello (FILE *stream) -{ - verify (sizeof (long int) <= sizeof (off_t)); - return ftell (stream); -} -# endif -#endif - #if ! HAVE_SYNC # define sync() /* empty */ #endif -- cgit v1.2.3-70-g09d2