From b2f6b89ea6869dae8b49d3dd03045b01b8083205 Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Mon, 18 Jul 2016 20:34:34 +0800 Subject: [PATCH] move hyper_create_file to util.h Signed-off-by: Peng Tao --- src/hyper.h | 1 - src/util.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hyper.h b/src/hyper.h index 8f13196..f083db2 100644 --- a/src/hyper.h +++ b/src/hyper.h @@ -118,7 +118,6 @@ static inline int hyper_create(char *hyper_path) return 0; } -int hyper_create_file(const char *hyper_path); int hyper_open_serial(char *tty); int hyper_start_containers(struct hyper_pod *pod); void hyper_cleanup_pod(struct hyper_pod *pod); diff --git a/src/util.h b/src/util.h index 0f9d06f..7a1eeb1 100644 --- a/src/util.h +++ b/src/util.h @@ -25,6 +25,7 @@ void hyper_sync_time_hctosys(); void online_cpu(void); void online_memory(void); int hyper_cmd(char *cmd); +int hyper_create_file(const char *hyper_path); int hyper_mkdir(char *path, mode_t mode); int hyper_open_channel(char *channel, int mode); int hyper_open_serial_dev(char *tty);