提交 d9797056 编写于 作者: L LiFeng

review: move global variable to .c

Signed-off-by: NLiFeng <lifeng68@huawei.com>
上级 6e81e255
......@@ -65,6 +65,8 @@
#define PluginServicePostStop "/PluginService/PostStop"
#define PluginServicePostRemove "/PluginService/PostRemove"
static plugin_manager_t *g_plugin_manager;
static int pm_init_plugin(const plugin_t *plugin);
static int plugin_event_pre_start_handle(const plugin_t *plugin, const char *cid);
......
......@@ -78,8 +78,6 @@ typedef struct plugin_manager {
map_t *eps; /* watch_event:plugins */
} plugin_manager_t;
plugin_manager_t *g_plugin_manager;
/*
* init at isulad start, scan and init/sync all plugins
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册