move hyper_create_file to util.h

Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
Peng Tao
2016-07-18 20:34:34 +08:00
parent db4f364510
commit b2f6b89ea6
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -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);
+1
View File
@@ -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);