summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
Diffstat (limited to 'osdep')
-rw-r--r--osdep/Makefile1
-rw-r--r--osdep/ftello.c19
2 files changed, 0 insertions, 20 deletions
diff --git a/osdep/Makefile b/osdep/Makefile
index 34e360e7a7..89820a7aa9 100644
--- a/osdep/Makefile
+++ b/osdep/Makefile
@@ -5,7 +5,6 @@ LIBNAME_COMMON = libosdep.a
SRCS_COMMON-$(HAVE_SYS_MMAN_H) += mmap_anon.c
SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c
-SRCS_COMMON-$(NEED_FTELLO) += ftello.c
SRCS_COMMON-$(NEED_GETTIMEOFDAY) += gettimeofday.c
SRCS_COMMON-$(NEED_GLOB) += glob-win.c
SRCS_COMMON-$(NEED_SCANDIR) += scandir.c
diff --git a/osdep/ftello.c b/osdep/ftello.c
deleted file mode 100644
index d11710b89f..0000000000
--- a/osdep/ftello.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * ftello.c
- * 64-bit version of ftello() for systems which do not have it
- */
-
-#include "config.h"
-
-#include <stdio.h>
-#include <sys/types.h>
-
-off_t
-ftello(FILE *stream)
-{
- fpos_t floc;
-
- if (fgetpos(stream, &floc) != 0)
- return -1;
- return floc;
-}