mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-05 21:46:04 +00:00
added missing return (Mike Frysinger)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4419 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
3c3a1d200c
commit
b255bfa816
@ -3040,6 +3040,7 @@ static inline abi_long target_to_host_timespec(struct timespec *host_ts,
|
|||||||
host_ts->tv_sec = tswapl(target_ts->tv_sec);
|
host_ts->tv_sec = tswapl(target_ts->tv_sec);
|
||||||
host_ts->tv_nsec = tswapl(target_ts->tv_nsec);
|
host_ts->tv_nsec = tswapl(target_ts->tv_nsec);
|
||||||
unlock_user_struct(target_ts, target_addr, 0);
|
unlock_user_struct(target_ts, target_addr, 0);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline abi_long host_to_target_timespec(abi_ulong target_addr,
|
static inline abi_long host_to_target_timespec(abi_ulong target_addr,
|
||||||
@ -3052,6 +3053,7 @@ static inline abi_long host_to_target_timespec(abi_ulong target_addr,
|
|||||||
target_ts->tv_sec = tswapl(host_ts->tv_sec);
|
target_ts->tv_sec = tswapl(host_ts->tv_sec);
|
||||||
target_ts->tv_nsec = tswapl(host_ts->tv_nsec);
|
target_ts->tv_nsec = tswapl(host_ts->tv_nsec);
|
||||||
unlock_user_struct(target_ts, target_addr, 1);
|
unlock_user_struct(target_ts, target_addr, 1);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int get_osversion(void)
|
int get_osversion(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user