Don't implement putc and __sp
Those two functions are not necessary in Contiki-NG
This commit is contained in:
parent
b2438b4563
commit
148e796ee1
|
@ -35,8 +35,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
#undef putc
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
int
|
int
|
||||||
putchar(int c)
|
putchar(int c)
|
||||||
{
|
{
|
||||||
|
@ -44,17 +42,3 @@ putchar(int c)
|
||||||
return 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;
|
|
||||||
}
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
|
|
Loading…
Reference in New Issue