summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-08-24 14:55:24 +0200
committerJim Meyering <jim@meyering.net>2007-08-24 14:55:24 +0200
commitbcc1a1625ceb1d44514e079e97102febb14ce9c1 (patch)
treefcd6ccab6787f32a1c1787da54c3013232f487c1
parent0ea19fb55cf3926c36458e3a6e871180f9e2c041 (diff)
downloadcoreutils-bcc1a1625ceb1d44514e079e97102febb14ce9c1.tar.xz
* src/system.h (fseeko, ftello): Remove now-unneeded definitions.
-rw-r--r--ChangeLog1
-rw-r--r--src/system.h15
2 files changed, 1 insertions, 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 <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