Don't implement putc and __sp

Those two functions are not necessary in Contiki-NG
This commit is contained in:
George Oikonomou 2018-03-30 22:21:24 +01:00
parent b2438b4563
commit 148e796ee1
1 changed files with 0 additions and 16 deletions

View File

@ -35,8 +35,6 @@
#include <stdio.h>
#include <string.h>
/*---------------------------------------------------------------------------*/
#undef putc
/*---------------------------------------------------------------------------*/
int
putchar(int c)
{
@ -44,17 +42,3 @@ putchar(int c)
return c;
}
/*---------------------------------------------------------------------------*/
int
putc(int c, FILE *f)
{
dbg_putchar(c);
return c;
}
/*---------------------------------------------------------------------------*/
int
__sp(struct _reent *_ptr, int c, FILE *_p)
{
dbg_putchar(c);
return c;
}
/*---------------------------------------------------------------------------*/