Commit de8ffcae authored by Federico Vaga's avatar Federico Vaga

rt: move puts to common header

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent e2d74a4d
......@@ -123,6 +123,9 @@ static inline void delay(int n)
asm volatile("nop");
}
extern int puts(const char *p);
/**@}*/
#endif
......@@ -86,10 +86,6 @@ static inline int pp_vsprintf(char *buf, const char *fmt, va_list args)
#endif
/* This is what we rely on for output */
extern int puts(const char *s);
/**@}*/
#endif
......@@ -11,8 +11,10 @@
#ifdef LIB_PRINTF
#include <stdarg.h>
#include <mockturtle-rt-common.h>
#include <pp-printf.h>
static char print_buf[CONFIG_PRINT_BUFSIZE];
int pp_vprintf(const char *fmt, va_list args)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment