aboutsummaryrefslogtreecommitdiff
path: root/libgloss/spu/gettimeofday.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/gettimeofday.c')
-rw-r--r--libgloss/spu/gettimeofday.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libgloss/spu/gettimeofday.c b/libgloss/spu/gettimeofday.c
index 91b7353..93051f6 100644
--- a/libgloss/spu/gettimeofday.c
+++ b/libgloss/spu/gettimeofday.c
@@ -38,12 +38,8 @@ int
gettimeofday (struct timeval *tv, struct timezone *tz)
{
syscall_gettimeofday_t sys;
- syscall_out_t *psys_out = ( syscall_out_t* )&sys;
sys.tv = (unsigned int)tv;
sys.tz = (unsigned int)tz;
-
- __send_to_ppe(JSRE_POSIX1_SIGNALCODE, JSRE_GETTIMEOFDAY, &sys);
-
- return (psys_out->rc);
+ return __send_to_ppe(JSRE_POSIX1_SIGNALCODE, JSRE_GETTIMEOFDAY, &sys);
}