提交 5d5df3a5 编写于 作者: C Caoruihong

chore: clean "bits/xx.h" includes

Signed-off-by: NCaoruihong <crh.cao@huawei.com>
Change-Id: I3dcf576ceba66b0fa447573e997d064026eb8785
上级 07cab404
...@@ -32,10 +32,6 @@ ...@@ -32,10 +32,6 @@
#ifndef _SHELL_PRI_H #ifndef _SHELL_PRI_H
#define _SHELL_PRI_H #define _SHELL_PRI_H
#include "sys/types.h"
#include "bits/alltypes.h"
#include "shcmd.h"
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
extern "C" { extern "C" {
......
...@@ -32,9 +32,6 @@ ...@@ -32,9 +32,6 @@
#ifndef _SHERR_H #ifndef _SHERR_H
#define _SHERR_H #define _SHERR_H
#include "sys/types.h"
#include "bits/alltypes.h"
#ifdef __cplusplus #ifdef __cplusplus
#if __cplusplus #if __cplusplus
extern "C" { extern "C" {
......
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
#include <errno.h> #include <errno.h>
#include <stdint.h> #include <stdint.h>
#include <stdarg.h> #include <stdarg.h>
#include <bits/alltypes.h>
#include <sys/prctl.h> #include <sys/prctl.h>
#include <time.h> #include <time.h>
#include <search.h> #include <search.h>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include "sys/wait.h" #include "sys/wait.h"
#define WAIT_PARENT_FIRST_TO_RUN(tick) usleep((tick)*10 * 1000) // 10, 1000, wait time. #define WAIT_PARENT_FIRST_TO_RUN(tick) usleep((tick)*10 * 1000) // 10, 1000, wait time.
#include "bits/syscall.h" #include "sys/syscall.h"
static inline int Syscall(int nbr, int parm1, int parm2, int parm3, int parm4) static inline int Syscall(int nbr, int parm1, int parm2, int parm3, int parm4)
{ {
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000) #define SLEEP_AND_YIELD(tick) usleep((tick)*10 * 1000)
#include "bits/syscall.h" #include "sys/syscall.h"
static inline int Syscall(int nbr, int parm1, int parm2, int parm3, int parm4) static inline int Syscall(int nbr, int parm1, int parm2, int parm3, int parm4)
{ {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "it_pthread_test.h" #include "it_pthread_test.h"
#include "bits/syscall.h" #include "sys/syscall.h"
void child1(void) void child1(void)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册