aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/various/syscalls.c')
-rw-r--r--os/various/syscalls.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/various/syscalls.c b/os/various/syscalls.c
index d4be50019..d4f6429cc 100644
--- a/os/various/syscalls.c
+++ b/os/various/syscalls.c
@@ -67,6 +67,7 @@
/***************************************************************************/
+__attribute__((used))
int _read_r(struct _reent *r, int file, char * ptr, int len)
{
(void)r;
@@ -88,6 +89,7 @@ int _read_r(struct _reent *r, int file, char * ptr, int len)
/***************************************************************************/
+__attribute__((used))
int _lseek_r(struct _reent *r, int file, int ptr, int dir)
{
(void)r;
@@ -100,6 +102,7 @@ int _lseek_r(struct _reent *r, int file, int ptr, int dir)
/***************************************************************************/
+__attribute__((used))
int _write_r(struct _reent *r, int file, char * ptr, int len)
{
(void)r;
@@ -117,6 +120,7 @@ int _write_r(struct _reent *r, int file, char * ptr, int len)
/***************************************************************************/
+__attribute__((used))
int _close_r(struct _reent *r, int file)
{
(void)r;
@@ -127,6 +131,7 @@ int _close_r(struct _reent *r, int file)
/***************************************************************************/
+__attribute__((used))
caddr_t _sbrk_r(struct _reent *r, int incr)
{
#if CH_CFG_USE_MEMCORE
@@ -149,6 +154,7 @@ caddr_t _sbrk_r(struct _reent *r, int incr)
/***************************************************************************/
+__attribute__((used))
int _fstat_r(struct _reent *r, int file, struct stat * st)
{
(void)r;
@@ -161,6 +167,7 @@ int _fstat_r(struct _reent *r, int file, struct stat * st)
/***************************************************************************/
+__attribute__((used))
int _isatty_r(struct _reent *r, int fd)
{
(void)r;