summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/rbcodecplatform-unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/rbcodecplatform-unix.h')
-rw-r--r--lib/rbcodec/rbcodecplatform-unix.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/rbcodec/rbcodecplatform-unix.h b/lib/rbcodec/rbcodecplatform-unix.h
index 5e65be3ae4..4ed25f44e8 100644
--- a/lib/rbcodec/rbcodecplatform-unix.h
+++ b/lib/rbcodec/rbcodecplatform-unix.h
@@ -50,15 +50,7 @@
#endif
/* filesize */
-#include <sys/stat.h>
off_t filesize(int fd);
-/*
-static inline off_t filesize(int fd) {
- struct stat st;
- fstat(fd, &st);
- return st.st_size;
-}
-*/
/* snprintf */
#include <stdio.h>