diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/tce/vfs.h | 3 | ||||
-rw-r--r-- | src/include/types.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/tce/vfs.h b/src/include/tce/vfs.h index 00c80d7..329bd8b 100644 --- a/src/include/tce/vfs.h +++ b/src/include/tce/vfs.h @@ -16,10 +16,9 @@ typedef struct _file_info { // file open flags #define FM_READ 0x00000001 #define FM_WRITE 0x00000002 -#define FM_APPEND 0x00000004 +#define FM_DELETE 0x00000004 #define FM_TRUNC 0x00000008 #define FM_CREATE 0x00000010 -#define FM_DELETE 0x00000020 // link modes #define LM_SYMLINK 1 diff --git a/src/include/types.h b/src/include/types.h index e7c1a35..373a3b5 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -11,6 +11,7 @@ typedef short int16_t; typedef char int8_t; typedef long unsigned int size_t; +typedef long int ptrdiff_t; #define NULL 0 |