]> granicus.if.org Git - graphviz/commitdiff
mark vset static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 16 May 2021 18:37:23 +0000 (11:37 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 28 May 2021 00:03:30 +0000 (17:03 -0700)
This function is not used outside of its containing file. Squashes a
-Wmissing-prototypes warning.

cmd/smyrna/trackball.c

index 573ac477a9603c1433d5d44d9345cf3f48827cd7..a45e4b07ed759c3d2b2b5f81294aada1fbe83046 100644 (file)
@@ -74,7 +74,7 @@ static void vzero(float *v)
     v[2] = 0.0;
 }
 
-void vset(float *v, float x, float y, float z)
+static void vset(float *v, float x, float y, float z)
 {
     v[0] = x;
     v[1] = y;