We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e904f9b commit dbe1a9cCopy full SHA for dbe1a9c
components/libc/compilers/newlib/libc.h
@@ -10,23 +10,10 @@
10
#ifndef __RTT_LIBC_H__
11
#define __RTT_LIBC_H__
12
13
-#include <stdio.h>
14
-#include <stdint.h>
15
-#include <string.h>
16
-#include <sys/time.h>
17
-
18
#ifndef _EXFUN
19
-#define _EXFUN(name, proto) name proto
+#define _EXFUN(name, proto) name proto
20
#endif
21
22
-#define MILLISECOND_PER_SECOND 1000UL
23
-#define MICROSECOND_PER_SECOND 1000000UL
24
-#define NANOSECOND_PER_SECOND 1000000000UL
25
26
-#define MILLISECOND_PER_TICK (MILLISECOND_PER_SECOND / RT_TICK_PER_SECOND)
27
-#define MICROSECOND_PER_TICK (MICROSECOND_PER_SECOND / RT_TICK_PER_SECOND)
28
-#define NANOSECOND_PER_TICK (NANOSECOND_PER_SECOND / RT_TICK_PER_SECOND)
29
30
#ifdef __cplusplus
31
extern "C" {
32
0 commit comments