提交 2747aa88 编写于 作者: M Mupceet

headerfile

Signed-off-by: NMupceet <laiguizhong@huawei.com>
Change-Id: I25369fe82fe1cfb8150f9c5dbd0a7beb60249205
上级 9449c80a
...@@ -14,21 +14,13 @@ ...@@ -14,21 +14,13 @@
*/ */
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <sys/ioctl.h>
#include <sys/select.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <termios.h> #include <termios.h>
#include <time.h>
#include <unistd.h> #include <unistd.h>
#include <limits.h>
#include "beget_ext.h" #include "beget_ext.h"
#include "control_fd.h" #include "control_fd.h"
#include "init_utils.h"
#include "securec.h" #include "securec.h"
static void ProcessPtyWrite(const WatcherHandle taskHandle, int fd, uint32_t *events, const void *context) static void ProcessPtyWrite(const WatcherHandle taskHandle, int fd, uint32_t *events, const void *context)
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdbool.h> #include <stdbool.h>
#include <sys/ioctl.h>
#include <sys/mount.h> #include <sys/mount.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/wait.h> #include <sys/wait.h>
......
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <limits.h>
#include <sys/types.h>
#include <dirent.h> #include <dirent.h>
#include <linux/limits.h> #include <linux/limits.h>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "init_param.h" #include "init_param.h"
#include "sysparam_errno.h" #include "sysparam_errno.h"
#include "securec.h" #include "securec.h"
#include "sysversion.h"
#include "beget_ext.h" #include "beget_ext.h"
int WaitParameter(const char *key, const char *value, int timeout) int WaitParameter(const char *key, const char *value, int timeout)
......
...@@ -16,12 +16,8 @@ ...@@ -16,12 +16,8 @@
#include <grp.h> #include <grp.h>
#include <pwd.h> #include <pwd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <dirent.h> #include <dirent.h>
#include <fcntl.h>
#include "init_utils.h"
#include "param_manager.h" #include "param_manager.h"
#include "param_security.h" #include "param_security.h"
#include "param_trie.h" #include "param_trie.h"
......
...@@ -15,11 +15,7 @@ ...@@ -15,11 +15,7 @@
#include "param_message.h" #include "param_message.h"
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/un.h> #include <sys/un.h>
#include <unistd.h>
#include "param_utils.h" #include "param_utils.h"
#include "securec.h" #include "securec.h"
......
...@@ -14,12 +14,8 @@ ...@@ -14,12 +14,8 @@
*/ */
#include <fcntl.h> #include <fcntl.h>
#include <pthread.h> #include <pthread.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/ioctl.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "begetctl.h" #include "begetctl.h"
#include "init_param.h" #include "init_param.h"
...@@ -27,7 +23,6 @@ ...@@ -27,7 +23,6 @@
#include "parameter.h" #include "parameter.h"
#include "plugin_test.h" #include "plugin_test.h"
#include "service_watcher.h" #include "service_watcher.h"
#include "shell_utils.h"
#define READ_DURATION 100000 #define READ_DURATION 100000
static char *GetLocalBuffer(uint32_t *buffSize) static char *GetLocalBuffer(uint32_t *buffSize)
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
*/ */
#include "ueventd_parameter.h" #include "ueventd_parameter.h"
#include <errno.h>
#include <pthread.h> #include <pthread.h>
#include <sys/time.h> #include <sys/time.h>
...@@ -24,7 +23,6 @@ ...@@ -24,7 +23,6 @@
#include "init_param.h" #include "init_param.h"
#include "ueventd.h" #include "ueventd.h"
#include "ueventd_read_cfg.h" #include "ueventd_read_cfg.h"
#include "ueventd_utils.h"
typedef struct { typedef struct {
int inited; int inited;
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/sysmacros.h> #include <sys/sysmacros.h>
#include <fcntl.h> #include <fcntl.h>
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/sysmacros.h> #include <sys/sysmacros.h>
#include "init_utils.h" #include "init_utils.h"
#include "list.h"
#include "ueventd.h" #include "ueventd.h"
#ifndef __RAMDISK__ #ifndef __RAMDISK__
#include "ueventd_parameter.h" #include "ueventd_parameter.h"
......
...@@ -14,18 +14,11 @@ ...@@ -14,18 +14,11 @@
*/ */
#include <poll.h> #include <poll.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
#include <ctype.h>
#include <signal.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/un.h>
#include <linux/netlink.h> #include <linux/netlink.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include "securec.h" #include "securec.h"
#define INIT_LOG_TAG "ueventd" #define INIT_LOG_TAG "ueventd"
#include "init_log.h" #include "init_log.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册