diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-10 21:51:02 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-10 21:51:02 +0000 |
commit | b255bfa81674d917f3df1656f90bab03c549d8c9 (patch) | |
tree | 40ee96c209c2160b5ce570d862a938a368448204 /linux-user/syscall.c | |
parent | 3c3a1d200c801d35de689325cd32766db5b11f0c (diff) |
added missing return (Mike Frysinger)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4419 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 0e506cc137..5b88e621a0 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -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_nsec = tswapl(target_ts->tv_nsec); unlock_user_struct(target_ts, target_addr, 0); + return 0; } 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_nsec = tswapl(host_ts->tv_nsec); unlock_user_struct(target_ts, target_addr, 1); + return 0; } int get_osversion(void) |