]> granicus.if.org Git - graphviz/commitdiff
smyrna: mark 'cb_keyboard_up' as static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 29 Sep 2021 00:41:02 +0000 (17:41 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Oct 2021 00:00:18 +0000 (17:00 -0700)
This function is not used outside of its containing file.

cmd/smyrna/glutrender.c

index 940cb06f96d1f7fe9039308dcd787a2944444c72..829e29377158b2de624b23f4fba9dd4f06e4c982 100644 (file)
@@ -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;