mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
include: move os_*() to os-foo.h
For consistency with other os_ functions that do not have POSIX implementation, declare an inline function for the stub in os-win32.h. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220323155743.1585078-27-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
89fc45d5c6
commit
327adeecdd
4 changed files with 5 additions and 14 deletions
|
@ -62,8 +62,10 @@ struct tm *localtime_r(const time_t *timep, struct tm *result);
|
|||
static inline void os_setup_signal_handling(void) {}
|
||||
static inline void os_daemonize(void) {}
|
||||
static inline void os_setup_post(void) {}
|
||||
void os_set_line_buffering(void);
|
||||
static inline void os_set_proc_name(const char *dummy) {}
|
||||
static inline int os_parse_cmd_args(int index, const char *optarg) { return -1; }
|
||||
void os_set_line_buffering(void);
|
||||
void os_setup_early_signal_handling(void);
|
||||
|
||||
int getpagesize(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue