代码拉取完成,页面将自动刷新
From 42b0b52d0cb8b857a3d3dae7271c06b435cbebb5 Mon Sep 17 00:00:00 2001
From: yuncang123 <[email protected]>
Date: Sat, 24 Aug 2024 02:13:48 +0800
Subject: [PATCH] delete __EXPORT__ in front of struct
---
src/runtime/lcrcontainer.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/runtime/lcrcontainer.h b/src/runtime/lcrcontainer.h
index d4cef39..4eedec9 100644
--- a/src/runtime/lcrcontainer.h
+++ b/src/runtime/lcrcontainer.h
@@ -40,13 +40,13 @@ extern "C" {
/* define console log config */
-__EXPORT__ struct lcr_console_config {
+struct lcr_console_config {
char *log_path;
unsigned int log_rotate;
char *log_file_size;
};
-__EXPORT__ struct blkio_stats {
+struct blkio_stats {
uint64_t read;
uint64_t write;
uint64_t total;
@@ -55,7 +55,7 @@ __EXPORT__ struct blkio_stats {
/*
* Store lcr container state
*/
-__EXPORT__ struct lcr_container_state {
+struct lcr_container_state {
/* Name of container */
char *name;
/* State of container */
@@ -92,14 +92,14 @@ typedef enum {
lcr_msg_exit_code,
} lcr_msg_type_t;
-__EXPORT__ struct lcr_msg {
+struct lcr_msg {
lcr_msg_type_t type;
char name[NAME_MAX + 1];
int value;
int pid;
};
-__EXPORT__ struct lcr_cgroup_resources {
+struct lcr_cgroup_resources {
uint64_t blkio_weight;
uint64_t cpu_shares;
uint64_t cpu_period;
@@ -150,7 +150,7 @@ __EXPORT__ bool lcr_create(const char *name, const char *lcrpath, void *oci_conf
* gid : user in which group
* additional_gids : Add additional groups to join
*/
-__EXPORT__ struct lcr_start_request {
+struct lcr_start_request {
const char *name;
const char *lcrpath;
@@ -237,7 +237,7 @@ __EXPORT__ void lcr_free_console_config(struct lcr_console_config *config);
__EXPORT__ int lcr_log_init(const char *name, const char *file, const char *priority,
const char *prefix, int quiet, const char *lcrpath);
-__EXPORT__ struct lcr_exec_request {
+struct lcr_exec_request {
const char *name;
const char *lcrpath;
--
2.43.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。