Make on_key() static in demo-async.c to shut up silly GCC warnings
This commit is contained in:
parent
c6ff878411
commit
2cfa31e610
@ -3,7 +3,7 @@
|
||||
|
||||
#include "termkey.h"
|
||||
|
||||
void on_key(termkey_t *tk, termkey_key *key)
|
||||
static void on_key(termkey_t *tk, termkey_key *key)
|
||||
{
|
||||
char buffer[50];
|
||||
termkey_snprint_key(tk, buffer, sizeof buffer, key, TERMKEY_FORMAT_VIM);
|
||||
|
Loading…
Reference in New Issue
Block a user