diff options
Diffstat (limited to 'tools/checkwps/file.h')
-rw-r--r-- | tools/checkwps/file.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/checkwps/file.h b/tools/checkwps/file.h deleted file mode 100644 index a14d7f5b91..0000000000 --- a/tools/checkwps/file.h +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | #ifndef MAX_PATH | ||
2 | #define MAX_PATH 260 | ||
3 | #endif | ||
4 | |||
5 | /* Wrapper - required for O_RDONLY */ | ||
6 | |||
7 | #include <fcntl.h> | ||
8 | |||
9 | extern ssize_t read(int fd, void *buf, size_t count); | ||
10 | extern ssize_t write(int fd, const void *buf, size_t count); | ||
11 | extern off_t lseek(int fildes, off_t offset, int whence); | ||
12 | extern int close(int fd); | ||
13 | |||
14 | /* strlcpy doesn't belong here (it's in string.h in the rockbox sources), | ||
15 | * but this avoids complicated magic to override the system string.h */ | ||
16 | size_t strlcpy(char *dst, const char *src, size_t siz); | ||