From 6c9ab4eb6c036f6d345e7c065edc52571d343246 Mon Sep 17 00:00:00 2001 From: Andre Guedes Date: Mon, 13 Jul 2015 19:24:31 -0300 Subject: [PATCH] galileo: Remove unneeded syscall stubs This patch removes _kill_r and _getpid_r stubs since they are not required by newlib at this moment. These stubs should not be in the commit that introduced the initial newlib-syscalls.c file. --- platform/galileo/newlib-syscalls.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/platform/galileo/newlib-syscalls.c b/platform/galileo/newlib-syscalls.c index 6c3be2d4c..8032e6da8 100644 --- a/platform/galileo/newlib-syscalls.c +++ b/platform/galileo/newlib-syscalls.c @@ -148,18 +148,3 @@ _sbrk_r(struct _reent *ptr, int incr) return prev_prog_break; } -/*---------------------------------------------------------------------------*/ -void -_kill_r(struct _reent *ptr) -{ - /* Stubbed function */ - ptr->_errno = ENOTSUP; -} -/*---------------------------------------------------------------------------*/ -int -_getpid_r(struct _reent *ptr) -{ - /* Stubbed function */ - ptr->_errno = ENOTSUP; - return 1; -}