diff options
Diffstat (limited to 'libgloss/spu/dup.c')
-rw-r--r-- | libgloss/spu/dup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libgloss/spu/dup.c b/libgloss/spu/dup.c index 86562e7c5..3240a0da5 100644 --- a/libgloss/spu/dup.c +++ b/libgloss/spu/dup.c @@ -29,7 +29,6 @@ POSSIBILITY OF SUCH DAMAGE. */ -#include <errno.h> #include "jsre.h" int @@ -40,9 +39,8 @@ dup (int oldfd) sys.oldfd = oldfd; - _send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_DUP, &sys); + __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_DUP, &sys); - errno = psys_out->err; return ( psys_out->rc); } |