Commit b255bfa81674d917f3df1656f90bab03c549d8c9
1 parent
3c3a1d20
added missing return (Mike Frysinger)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4419 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
linux-user/syscall.c
... | ... | @@ -3040,6 +3040,7 @@ static inline abi_long target_to_host_timespec(struct timespec *host_ts, |
3040 | 3040 | host_ts->tv_sec = tswapl(target_ts->tv_sec); |
3041 | 3041 | host_ts->tv_nsec = tswapl(target_ts->tv_nsec); |
3042 | 3042 | unlock_user_struct(target_ts, target_addr, 0); |
3043 | + return 0; | |
3043 | 3044 | } |
3044 | 3045 | |
3045 | 3046 | 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, |
3052 | 3053 | target_ts->tv_sec = tswapl(host_ts->tv_sec); |
3053 | 3054 | target_ts->tv_nsec = tswapl(host_ts->tv_nsec); |
3054 | 3055 | unlock_user_struct(target_ts, target_addr, 1); |
3056 | + return 0; | |
3055 | 3057 | } |
3056 | 3058 | |
3057 | 3059 | int get_osversion(void) | ... | ... |