mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv:Change shell_init to void type
Remove shell_construct Change shell_init to void type Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -11,11 +11,11 @@
|
||||
#define GUEST_CONSOLE_TO_HV_SWITCH_KEY 0 /* CTRL + SPACE */
|
||||
|
||||
#ifdef HV_DEBUG
|
||||
int shell_init(void);
|
||||
void shell_init(void);
|
||||
void shell_kick_session(void);
|
||||
int shell_switch_console(void);
|
||||
#else
|
||||
static inline int shell_init(void) { return 0; }
|
||||
static inline void shell_init(void) {}
|
||||
static inline void shell_kick_session(void) {}
|
||||
static inline int shell_switch_console(void) { return 0; }
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user