summaryrefslogtreecommitdiff
path: root/libc/stdio/fgetpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fgetpos.c')
-rw-r--r--libc/stdio/fgetpos.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/stdio/fgetpos.c b/libc/stdio/fgetpos.c
index 03c18ab93..610737d36 100644
--- a/libc/stdio/fgetpos.c
+++ b/libc/stdio/fgetpos.c
@@ -8,9 +8,11 @@
#include "_stdio.h"
#ifndef __DO_LARGEFILE
-#define FTELL __ftell
+#define FTELL ftell
#endif
+libc_hidden_proto(FTELL)
+
int fgetpos(FILE * __restrict stream, register fpos_t * __restrict pos)
{
#ifdef __STDIO_MBSTATE