mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
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.
This commit is contained in:
parent
dd540e9a21
commit
6c9ab4eb6c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user