summaryrefslogtreecommitdiff
path: root/firmware/include/file.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-05-06 21:04:40 +0000
committerThomas Martitz <kugel@rockbox.org>2010-05-06 21:04:40 +0000
commit50a6ca39ad4ed01922aa4f755f0ca579788226cf (patch)
treec7881b015b220558167310345b162324c96be15a /firmware/include/file.h
parentadb506df14aded06ed6e9ebf8540e6fd383ffd6a (diff)
downloadrockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.tar.gz
rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.zip
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/file.h')
-rw-r--r--firmware/include/file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/include/file.h b/firmware/include/file.h
index ec0ab87759..2d5c9b88ab 100644
--- a/firmware/include/file.h
+++ b/firmware/include/file.h
@@ -23,6 +23,7 @@
23#define _FILE_H_ 23#define _FILE_H_
24 24
25#include <sys/types.h> 25#include <sys/types.h>
26#include "_ansi.h"
26 27
27#undef MAX_PATH /* this avoids problems when building simulator */ 28#undef MAX_PATH /* this avoids problems when building simulator */
28#define MAX_PATH 260 29#define MAX_PATH 260
@@ -94,5 +95,5 @@ extern int rename(const char* path, const char* newname);
94extern int ftruncate(int fd, off_t length); 95extern int ftruncate(int fd, off_t length);
95extern off_t filesize(int fd); 96extern off_t filesize(int fd);
96extern int release_files(int volume); 97extern int release_files(int volume);
97 98int fdprintf (int fd, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3);
98#endif 99#endif