From: Matthew Fernandez Date: Wed, 10 Nov 2021 15:21:25 +0000 (-0800) Subject: smyrna: make 'smyrnaGlade' static X-Git-Tag: 2.50.0~31^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97ca022f49780eecbac3513dc83f280f5f4aca6f;p=graphviz smyrna: make 'smyrnaGlade' static This variable is not used outside of its containing file. --- diff --git a/cmd/smyrna/main.c b/cmd/smyrna/main.c index c0636b1bd..98d0fc545 100644 --- a/cmd/smyrna/main.c +++ b/cmd/smyrna/main.c @@ -38,7 +38,7 @@ #include static char *smyrnaDir; /* path to directory containin smyrna data files */ -char *smyrnaGlade; +static char *smyrnaGlade; /* smyrnaPath: * Construct pathname for smyrna data file. diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index df9be7457..29b5d7734 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -450,6 +450,5 @@ typedef struct extern ViewInfo *view; extern GtkMessageDialog *Dlg; extern char *smyrnaPath(char *suffix); - extern char *smyrnaGlade; extern void glexpose(void);