]> granicus.if.org Git - graphviz/commitdiff
smyrna: mark 'cb_special_key_up' as static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 29 Sep 2021 00:42:31 +0000 (17:42 -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 8f988522de8ae7ba0f3fb647789911cd0b39082f..a50e7ea63259024562181a62c3e807dda976cdfa 100644 (file)
@@ -187,7 +187,8 @@ static void cb_special_key(int key, int x, int y)
     appmouse_key_press(view,key);
 
 }
-void cb_special_key_up(int key, int x, int y)
+
+static void cb_special_key_up(int key, int x, int y)
 {
     if(key==GLUT_KEY_F1)
     {