From a998ed3b3c60ee09192bbd4dae65257ede983201 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 28 Sep 2021 17:41:02 -0700 Subject: [PATCH] smyrna: mark 'cb_keyboard_up' as static This function is not used outside of its containing file. --- cmd/smyrna/glutrender.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/smyrna/glutrender.c b/cmd/smyrna/glutrender.c index 940cb06f9..829e29377 100644 --- a/cmd/smyrna/glutrender.c +++ b/cmd/smyrna/glutrender.c @@ -170,7 +170,8 @@ static void cb_keyboard(unsigned char key, int x, int y) appmouse_key_press(view,key); } -void cb_keyboard_up(unsigned char key,int x, int y) + +static void cb_keyboard_up(unsigned char key, int x, int y) { (void)key; -- 2.40.0