summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux/latest/com32/lib/sys/ftell.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux/latest/com32/lib/sys/ftell.c')
-rw-r--r--contrib/syslinux/latest/com32/lib/sys/ftell.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/contrib/syslinux/latest/com32/lib/sys/ftell.c b/contrib/syslinux/latest/com32/lib/sys/ftell.c
deleted file mode 100644
index 5c1a944..0000000
--- a/contrib/syslinux/latest/com32/lib/sys/ftell.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * sys/ftell.c
- *
- * We can't seek, but we can at least tell...
- */
-
-#include <stdio.h>
-#include "sys/file.h"
-
-long ftell(FILE * stream)
-{
- int fd = fileno(stream);
- struct file_info *fp = &__file_info[fd];
-
- return fp->i.offset;
-}