Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/access.c')
-rw-r--r--libgloss/spu/access.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libgloss/spu/access.c b/libgloss/spu/access.c
index 0b639a981..8b023166b 100644
--- a/libgloss/spu/access.c
+++ b/libgloss/spu/access.c
@@ -35,13 +35,8 @@ int
access (const char *pathname, int mode)
{
syscall_access_t sys;
- syscall_out_t *psys_out = ( syscall_out_t* )&sys;
sys.pathname = (unsigned int) pathname;
sys.mode = mode;
-
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_ACCESS, &sys);
-
- return ( psys_out->rc);
+ return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_ACCESS, &sys);
}
-