forked from len0rd/rockbox
Get the last errors I hope!
Change-Id: Ia285b95480cc9ac6494b745d80892c4b1b912341
This commit is contained in:
parent
f3d60aea34
commit
da4938d6ee
6 changed files with 48 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue