Skip to content

Commit 9f2a7a7

Browse files
tagunilnashif
authored andcommitted
lib: libc: arcmwdt: avoid double definition of clock_t and clockid_t
The clock_t and clockid_t types are already defined in ARC MWDT headers, so they should not be defined again in Zephyr headers. Signed-off-by: Ilya Tagunov <[email protected]>
1 parent 80a9b12 commit 9f2a7a7

File tree

1 file changed

+3
-0
lines changed
  • lib/libc/arcmwdt/include/sys

1 file changed

+3
-0
lines changed

lib/libc/arcmwdt/include/sys/types.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
#include_next "sys/types.h"
1111

12+
#define _CLOCK_T_DECLARED
13+
#define _CLOCKID_T_DECLARED
14+
1215
#define _DEV_T_DECLARED
1316
#define _INO_T_DECLARED
1417
#define _NLINK_T_DECLARED

0 commit comments

Comments
 (0)