]> granicus.if.org Git - graphviz/commitdiff
tclpkg: mark 'gdCmd' static
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 6 May 2022 00:21:52 +0000 (17:21 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 12 May 2022 02:30:15 +0000 (19:30 -0700)
This function is not used outside of its containing file.

tclpkg/gdtclft/gdtclft.c

index 87cbb71d9e2aad633d673dd9d0e44a09b81816e6..36cfa1623309a1c4bcc80896b5bd5a9504106871 100644 (file)
@@ -339,10 +339,8 @@ static int tclGd_GetColor(Tcl_Interp * interp, Tcl_Obj * obj, int *color)
  *             in copying from srcw x srch to destw x desth.
  * 
  */
-int
-gdCmd(ClientData clientData, Tcl_Interp * interp,
-      int argc, Tcl_Obj * CONST objv[])
-{
+static int gdCmd(ClientData clientData, Tcl_Interp *interp, int argc,
+                 Tcl_Obj *CONST objv[]) {
     unsigned int argi;
     size_t subi;
     /* Check for subcommand. */