aboutsummaryrefslogtreecommitdiff
path: root/demo-async.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo-async.c')
-rw-r--r--demo-async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo-async.c b/demo-async.c
index 0cb7066..0ac9f27 100644
--- a/demo-async.c
+++ b/demo-async.c
@@ -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);