diff options
author | Jim Meyering <jim@meyering.net> | 2007-08-24 14:55:24 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-08-24 14:55:24 +0200 |
commit | bcc1a1625ceb1d44514e079e97102febb14ce9c1 (patch) | |
tree | fcd6ccab6787f32a1c1787da54c3013232f487c1 | |
parent | 0ea19fb55cf3926c36458e3a6e871180f9e2c041 (diff) | |
download | coreutils-bcc1a1625ceb1d44514e079e97102febb14ce9c1.tar.xz |
* src/system.h (fseeko, ftello): Remove now-unneeded definitions.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/system.h | 15 |
2 files changed, 1 insertions, 15 deletions
@@ -1,5 +1,6 @@ 2007-08-24 Jim Meyering <jim@meyering.net> + * 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 |