aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-24 22:07:13 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-24 22:07:13 +0000
commit2cfa31e610a0ce3062335f049ce5d0386fce0911 (patch)
treea67adeb60d2e932d5d04cdbfc2d42c70714cc2f3
parentc6ff878411bdf5b00c8fe3dc39413374c2bad565 (diff)
downloadtermo-2cfa31e610a0ce3062335f049ce5d0386fce0911.tar.gz
termo-2cfa31e610a0ce3062335f049ce5d0386fce0911.tar.xz
termo-2cfa31e610a0ce3062335f049ce5d0386fce0911.zip
Make on_key() static in demo-async.c to shut up silly GCC warnings
-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);