Преглед на файлове

[Libc][Minilibc] Add type 'clock_t' to minilibc.

armink преди 8 години
родител
ревизия
0c4922becb
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      components/libc/compilers/minilibc/sys/types.h

+ 2 - 0
components/libc/compilers/minilibc/sys/types.h

@@ -15,6 +15,8 @@ typedef int mode_t;
 typedef unsigned long clockid_t;
 typedef int pid_t;
 
+typedef	unsigned long clock_t; /* clock() */
+
 #ifndef NULL
 #define NULL        (0)
 #endif