cleanup
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
void os_set_line_buffering(void);
|
||||
void os_set_proc_name(const char *s);
|
||||
void os_setup_signal_handling(void);
|
||||
void os_daemonize(void);
|
||||
void os_setup_post(void);
|
||||
int os_mlock(void);
|
||||
|
||||
@@ -48,6 +47,4 @@ typedef struct timeval qemu_timeval;
|
||||
#endif
|
||||
typedef struct timespec qemu_timespec;
|
||||
|
||||
bool is_daemonized(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -85,7 +85,6 @@ struct tm *localtime_r(const time_t *timep, struct tm *result);
|
||||
// char *strtok_r(char *str, const char *delim, char **saveptr);
|
||||
|
||||
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) {}
|
||||
@@ -104,11 +103,6 @@ typedef struct {
|
||||
} qemu_timeval;
|
||||
int qemu_gettimeofday(qemu_timeval *tp);
|
||||
|
||||
static inline bool is_daemonized(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline int os_mlock(void)
|
||||
{
|
||||
return -ENOSYS;
|
||||
|
||||
Reference in New Issue
Block a user