From 18751b02d35e1f8463e7c920b7454a97a8fb3239 Mon Sep 17 00:00:00 2001 From: lifeng68 Date: Sat, 11 Jul 2020 10:47:05 +0800 Subject: [PATCH] headfile: format head file Signed-off-by: lifeng68 --- src/daemon/common/selinux_label.h | 6 +++--- src/daemon/entry/connect/rest/rest_containers_service.h | 4 ++-- src/daemon/entry/connect/rest/rest_images_service.h | 4 ++-- src/daemon/entry/connect/rest/rest_service_common.h | 4 ++-- src/daemon/modules/image/embedded/db/sqlite_common.h | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/daemon/common/selinux_label.h b/src/daemon/common/selinux_label.h index 62c6276..6bb34ec 100644 --- a/src/daemon/common/selinux_label.h +++ b/src/daemon/common/selinux_label.h @@ -13,8 +13,8 @@ * Description: provide selinux label handle function definition ******************************************************************************/ -#ifndef DAEMON_MODULES_SPEC_SELINUX_LABEL_H -#define DAEMON_MODULES_SPEC_SELINUX_LABEL_H +#ifndef DAEMON_COMMON_SELINUX_LABEL_H +#define DAEMON_COMMON_SELINUX_LABEL_H #include #include @@ -36,4 +36,4 @@ char *selinux_format_mountlabel(const char *src, const char *mount_label); } #endif -#endif // DAEMON_MODULES_SPEC_SELINUX_LABEL_H +#endif // DAEMON_COMMON_SELINUX_LABEL_H diff --git a/src/daemon/entry/connect/rest/rest_containers_service.h b/src/daemon/entry/connect/rest/rest_containers_service.h index 2e0c268..3b38f3e 100644 --- a/src/daemon/entry/connect/rest/rest_containers_service.h +++ b/src/daemon/entry/connect/rest/rest_containers_service.h @@ -12,8 +12,8 @@ * Create: 2018-11-08 * Description: provide container restful service definition ******************************************************************************/ -#ifndef __REST_CONTAINERS_SERVICE_H -#define __REST_CONTAINERS_SERVICE_H +#ifndef DAEMON_ENTRY_CONNECT_REST_REST_CONTAINERS_SERVICE_H +#define DAEMON_ENTRY_CONNECT_REST_REST_CONTAINERS_SERVICE_H #include diff --git a/src/daemon/entry/connect/rest/rest_images_service.h b/src/daemon/entry/connect/rest/rest_images_service.h index 6512453..b0dff8a 100644 --- a/src/daemon/entry/connect/rest/rest_images_service.h +++ b/src/daemon/entry/connect/rest/rest_images_service.h @@ -12,8 +12,8 @@ * Create: 2018-11-08 * Description: provide image restful service definition ******************************************************************************/ -#ifndef __REST_IMAGES_SERVICE_H -#define __REST_IMAGES_SERVICE_H +#ifndef DAEMON_ENTRY_CONNECT_REST_REST_IMAGES_SERVICE_H +#define DAEMON_ENTRY_CONNECT_REST_REST_IMAGES_SERVICE_H #include "rest_service_common.h" diff --git a/src/daemon/entry/connect/rest/rest_service_common.h b/src/daemon/entry/connect/rest/rest_service_common.h index 1255b28..fa0c5c4 100644 --- a/src/daemon/entry/connect/rest/rest_service_common.h +++ b/src/daemon/entry/connect/rest/rest_service_common.h @@ -12,8 +12,8 @@ * Create: 2018-11-08 * Description: provide container restful service common definition ******************************************************************************/ -#ifndef __REST_SERVICE_COMMON_H -#define __REST_SERVICE_COMMON_H +#ifndef DAEMON_ENTRY_CONNECT_REST_REST_SERVICE_COMMON_H +#define DAEMON_ENTRY_CONNECT_REST_REST_SERVICE_COMMON_H #include diff --git a/src/daemon/modules/image/embedded/db/sqlite_common.h b/src/daemon/modules/image/embedded/db/sqlite_common.h index dfe8a7c..7562932 100644 --- a/src/daemon/modules/image/embedded/db/sqlite_common.h +++ b/src/daemon/modules/image/embedded/db/sqlite_common.h @@ -12,8 +12,8 @@ * Create: 2018-11-07 * Description: provide sqlite function definition ******************************************************************************/ -#ifndef __DB_SQLITE_COMMON_H_ -#define __DB_SQLITE_COMMON_H_ +#ifndef DAEMON_MODULES_IMAGE_EMBEDDED_DB_SQLITE_COMMON_H +#define DAEMON_MODULES_IMAGE_EMBEDDED_DB_SQLITE_COMMON_H #include -- GitLab