mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-08-26 09:35:49 +00:00
move hyper_create_file to util.h
Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user