From 148e796ee115fe386381077e244980503c4eeb20 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Fri, 30 Mar 2018 22:21:24 +0100 Subject: [PATCH] Don't implement putc and __sp Those two functions are not necessary in Contiki-NG --- os/lib/dbg-io/putchar.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/os/lib/dbg-io/putchar.c b/os/lib/dbg-io/putchar.c index d5b81e2ab..26a35446d 100644 --- a/os/lib/dbg-io/putchar.c +++ b/os/lib/dbg-io/putchar.c @@ -35,8 +35,6 @@ #include #include /*---------------------------------------------------------------------------*/ -#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; -} -/*---------------------------------------------------------------------------*/