Skip to content

Commit dbe1a9c

Browse files
committed
移除无用的代码
1 parent e904f9b commit dbe1a9c

File tree

1 file changed

+1
-14
lines changed
  • components/libc/compilers/newlib

1 file changed

+1
-14
lines changed

components/libc/compilers/newlib/libc.h

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,10 @@
1010
#ifndef __RTT_LIBC_H__
1111
#define __RTT_LIBC_H__
1212

13-
#include <stdio.h>
14-
#include <stdint.h>
15-
#include <string.h>
16-
#include <sys/time.h>
17-
1813
#ifndef _EXFUN
19-
#define _EXFUN(name, proto) name proto
14+
#define _EXFUN(name, proto) name proto
2015
#endif
2116

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-
3017
#ifdef __cplusplus
3118
extern "C" {
3219
#endif

0 commit comments

Comments
 (0)