fx.term: convert to new assembly build system
This commit is contained in:
+9
-6
@@ -1,8 +1,8 @@
|
||||
#include "print.h"
|
||||
|
||||
#include <fx/core/hash.h>
|
||||
#include <fx/term/print.h>
|
||||
#include <ctype.h>
|
||||
#include <fx/hash.h>
|
||||
#include <fx/term/print.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
@@ -131,17 +131,20 @@ int fx_putc(char c)
|
||||
return fx_tty_putc(fx_stdtty, 0, c);
|
||||
}
|
||||
|
||||
int fx_puts(const char* s)
|
||||
int fx_puts(const char *s)
|
||||
{
|
||||
return fx_tty_puts(fx_stdtty, 0, s);
|
||||
}
|
||||
|
||||
int fx_printf(const char* format, ...)
|
||||
int fx_printf(const char *format, ...)
|
||||
{
|
||||
va_list arg;
|
||||
va_start(arg, format);
|
||||
int x = fx_tty_vprintf(
|
||||
fx_stdtty, FX_TTY_DISABLE_INTERPOLATED_FORMATTING, format, arg);
|
||||
fx_stdtty,
|
||||
FX_TTY_DISABLE_INTERPOLATED_FORMATTING,
|
||||
format,
|
||||
arg);
|
||||
va_end(arg);
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user