Make on_key() static in demo-async.c to shut up silly GCC warnings

This commit is contained in:
Paul LeoNerd Evans 2008-11-24 22:07:13 +00:00
parent c6ff878411
commit 2cfa31e610
1 changed files with 1 additions and 1 deletions

View File

@ -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);