]> granicus.if.org Git - graphviz/commitdiff
smyrna: mark 'cb_display' as static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 29 Sep 2021 00:31:21 +0000 (17:31 -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 9e0b20f47621c8529c4305c5903352c949cdbb67..b9945b419786b59e02321239a6f4a62a08aea0ac 100644 (file)
@@ -70,7 +70,8 @@ static void cb_reshape(int width, int height)
        /*** OpenGL END ***/
 
 }
-void cb_display(void )
+
+static void cb_display(void)
 {
     glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
     glLoadIdentity();