]> granicus.if.org Git - graphviz/commitdiff
smyrna: mark 'cb_keyboard' as static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 29 Sep 2021 00:40:13 +0000 (17:40 -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 d186a9521695c59ee9bf3e6b88d133159e9ba474..940cb06f96d1f7fe9039308dcd787a2944444c72 100644 (file)
@@ -151,7 +151,7 @@ static void cb_drag(int X, int Y)
 
 }
 
-void cb_keyboard(unsigned char key,int x, int y)
+static void cb_keyboard(unsigned char key, int x, int y)
 {
     if (key==27)    /*ESC*/
        exit (1);