mirror of
https://github.com/tailix/libkernaux.git
synced 2026-07-11 04:06:18 -04:00
Fix API usage
This commit is contained in:
parent
990fa24633
commit
f0d3cf4001
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
|||
static char buffer[BUFFER_SIZE];
|
||||
static size_t buffer_index = 0;
|
||||
|
||||
static void my_putchar(const char chr)
|
||||
static void my_putchar(const char chr, void *arg __attribute__((unused)))
|
||||
{
|
||||
if (buffer_index >= BUFFER_SIZE) abort();
|
||||
buffer[buffer_index++] = chr;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
static char buffer[BUFFER_SIZE];
|
||||
static size_t buffer_index = 0;
|
||||
|
||||
static void my_putchar(const char chr)
|
||||
static void my_putchar(const char chr, void *arg __attribute__((unused)))
|
||||
{
|
||||
if (buffer_index >= BUFFER_SIZE) abort();
|
||||
buffer[buffer_index++] = chr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue