mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-24 16:49:58 +00:00
headerfile
Signed-off-by: Mupceet <laiguizhong@huawei.com> Change-Id: I25369fe82fe1cfb8150f9c5dbd0a7beb60249205
This commit is contained in:
parent
9449c80ad8
commit
2747aa880f
@ -14,21 +14,13 @@
|
||||
*/
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <termios.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "beget_ext.h"
|
||||
#include "control_fd.h"
|
||||
#include "init_utils.h"
|
||||
#include "securec.h"
|
||||
|
||||
static void ProcessPtyWrite(const WatcherHandle taskHandle, int fd, uint32_t *events, const void *context)
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
|
@ -17,8 +17,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
#include <linux/limits.h>
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "init_param.h"
|
||||
#include "sysparam_errno.h"
|
||||
#include "securec.h"
|
||||
#include "sysversion.h"
|
||||
#include "beget_ext.h"
|
||||
|
||||
int WaitParameter(const char *key, const char *value, int timeout)
|
||||
|
@ -16,12 +16,8 @@
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "init_utils.h"
|
||||
#include "param_manager.h"
|
||||
#include "param_security.h"
|
||||
#include "param_trie.h"
|
||||
|
@ -15,11 +15,7 @@
|
||||
#include "param_message.h"
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "param_utils.h"
|
||||
#include "securec.h"
|
||||
|
@ -14,12 +14,8 @@
|
||||
*/
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include "begetctl.h"
|
||||
#include "init_param.h"
|
||||
@ -27,7 +23,6 @@
|
||||
#include "parameter.h"
|
||||
#include "plugin_test.h"
|
||||
#include "service_watcher.h"
|
||||
#include "shell_utils.h"
|
||||
|
||||
#define READ_DURATION 100000
|
||||
static char *GetLocalBuffer(uint32_t *buffSize)
|
||||
|
@ -14,7 +14,6 @@
|
||||
*/
|
||||
#include "ueventd_parameter.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
@ -24,7 +23,6 @@
|
||||
#include "init_param.h"
|
||||
#include "ueventd.h"
|
||||
#include "ueventd_read_cfg.h"
|
||||
#include "ueventd_utils.h"
|
||||
|
||||
typedef struct {
|
||||
int inited;
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <fcntl.h>
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include "init_utils.h"
|
||||
#include "list.h"
|
||||
#include "ueventd.h"
|
||||
#ifndef __RAMDISK__
|
||||
#include "ueventd_parameter.h"
|
||||
|
@ -14,18 +14,11 @@
|
||||
*/
|
||||
|
||||
#include <poll.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <ctype.h>
|
||||
#include <signal.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <linux/netlink.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include "securec.h"
|
||||
#define INIT_LOG_TAG "ueventd"
|
||||
#include "init_log.h"
|
||||
|
Loading…
Reference in New Issue
Block a user