[klibc] Define fseeko and ftello as macros
We ignore the "long" requirement for fseek/ftell and really have
fseeko/ftello as the only implementation, but #define those names so
properly written software will do the right thing.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
diff --git a/usr/include/stdio.h b/usr/include/stdio.h
index bfc7b4b..0d4c7d8 100644
--- a/usr/include/stdio.h
+++ b/usr/include/stdio.h
@@ -49,6 +49,7 @@
__extern FILE *fdopen(int, const char *);
__extern int fclose(FILE *);
__extern int fseek(FILE *, off_t, int);
+#define fseeko fseek
__extern void rewind(FILE *);
__extern int fputs(const char *, FILE *);
__extern int puts(const char *);
@@ -93,6 +94,7 @@
__extern size_t fwrite(const void *, size_t, size_t, FILE *);
__extern off_t ftell(FILE *__f);
+#define ftello ftell
__extern int ferror(FILE * );
__extern int feof(FILE *);