]> granicus.if.org Git - graphviz/commitdiff
smyrna: mark 'cb_special_key' as static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 29 Sep 2021 00:41:49 +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 829e29377158b2de624b23f4fba9dd4f06e4c982..8f988522de8ae7ba0f3fb647789911cd0b39082f 100644 (file)
@@ -178,8 +178,7 @@ static void cb_keyboard_up(unsigned char key, int x, int y)
     appmouse_key_release(view);
 }
 
-
-void cb_special_key(int key, int x, int y)
+static void cb_special_key(int key, int x, int y)
 {
     if(key==GLUT_KEY_F1)
     {