!705 清理"bits/xxx.h"类头文件包含

Merge pull request !705 from Caoruihong/clean_bits
This commit is contained in:
openharmony_ci 2021-11-15 09:35:09 +00:00 committed by Gitee
commit 09fd11bc38
6 changed files with 3 additions and 11 deletions

View File

@ -32,10 +32,6 @@
#ifndef _SHELL_PRI_H
#define _SHELL_PRI_H
#include "sys/types.h"
#include "bits/alltypes.h"
#include "shcmd.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {

View File

@ -32,9 +32,6 @@
#ifndef _SHERR_H
#define _SHERR_H
#include "sys/types.h"
#include "bits/alltypes.h"
#ifdef __cplusplus
#if __cplusplus
extern "C" {

View File

@ -47,7 +47,6 @@
#include <errno.h>
#include <stdint.h>
#include <stdarg.h>
#include <bits/alltypes.h>
#include <sys/prctl.h>
#include <time.h>
#include <search.h>

View File

@ -36,7 +36,7 @@
#include "sys/wait.h"
#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)
{

View File

@ -38,7 +38,7 @@
#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)
{

View File

@ -29,7 +29,7 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "it_pthread_test.h"
#include "bits/syscall.h"
#include "sys/syscall.h"
void child1(void)
{