mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
fw: remove warning of missing prototypes when building with QEMU console
enabled.
This commit is contained in:
parent
613316f53e
commit
81950ef7b2
@ -72,7 +72,7 @@ void htif_putc(char ch)
|
|||||||
htif_putchar(ch);
|
htif_putchar(ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
void htif_lf()
|
void htif_lf(void)
|
||||||
{
|
{
|
||||||
htif_putchar('\n');
|
htif_putchar('\n');
|
||||||
}
|
}
|
||||||
|
@ -8,16 +8,16 @@
|
|||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
#ifdef QEMU_CONSOLE
|
#ifdef QEMU_CONSOLE
|
||||||
void htif_putc(char ch);
|
void htif_putc(char ch);
|
||||||
void htif_lf();
|
void htif_lf(void);
|
||||||
void htif_puthex(uint8_t c);
|
void htif_puthex(uint8_t c);
|
||||||
void htif_putinthex(const uint32_t n);
|
void htif_putinthex(const uint32_t n);
|
||||||
void htif_puts(const char *s);
|
void htif_puts(const char *s);
|
||||||
void htif_hexdump(void *buf, int len);
|
void htif_hexdump(void *buf, int len);
|
||||||
#else
|
#else
|
||||||
#define htif_putc(ch)
|
#define htif_putc(ch)
|
||||||
#define htif_lf()
|
#define htif_lf(void)
|
||||||
#define htif_puthex(c)
|
#define htif_puthex(c)
|
||||||
#define htif_putinthex(n)
|
#define htif_putinthex(n)
|
||||||
#define htif_puts(s)
|
#define htif_puts(s)
|
||||||
|
Loading…
Reference in New Issue
Block a user