summaryrefslogtreecommitdiffstats
path: root/libgloss/spu/close.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/close.c')
-rw-r--r--libgloss/spu/close.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libgloss/spu/close.c b/libgloss/spu/close.c
index 77e3ce177..ea47d0268 100644
--- a/libgloss/spu/close.c
+++ b/libgloss/spu/close.c
@@ -35,13 +35,8 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
int
close (int file)
{
- syscall_close_t sys ;
- syscall_out_t *psys_out = ( syscall_out_t* )&sys;
+ syscall_close_t sys;
sys.file = file;
-
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_CLOSE, &sys);
-
- return ( psys_out->rc);
+ return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_CLOSE, &sys);
}
-