diff options
| author | bernard <[email protected]> | 2017-10-25 07:25:24 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-25 07:25:24 +0800 |
| commit | 0d45288f066d1ef4e5d94fb2d38d5864d3145c48 (patch) | |
| tree | 073458afaf479404d358f0dc3fd744e08bcb627e /components/libc | |
| parent | 1181c5b308e8aa253459469e8276d48dce76285d (diff) | |
[libc] Add mode_t in rtlibc.h for Keil MDK/IAR.
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/compilers/armlibc/sys/types.h | 2 | ||||
| -rw-r--r-- | components/libc/compilers/dlib/sys/types.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/components/libc/compilers/armlibc/sys/types.h b/components/libc/compilers/armlibc/sys/types.h index 3074bd69d0..b01d8283d4 100644 --- a/components/libc/compilers/armlibc/sys/types.h +++ b/components/libc/compilers/armlibc/sys/types.h @@ -9,6 +9,4 @@ typedef rt_int32_t key_t; /* Used for interprocess communication. */ typedef rt_int32_t pid_t; /* Used for process IDs and process group IDs. */ typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */ -typedef int mode_t; - #endif diff --git a/components/libc/compilers/dlib/sys/types.h b/components/libc/compilers/dlib/sys/types.h index 3074bd69d0..b01d8283d4 100644 --- a/components/libc/compilers/dlib/sys/types.h +++ b/components/libc/compilers/dlib/sys/types.h @@ -9,6 +9,4 @@ typedef rt_int32_t key_t; /* Used for interprocess communication. */ typedef rt_int32_t pid_t; /* Used for process IDs and process group IDs. */ typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */ -typedef int mode_t; - #endif |
