From 97ca022f49780eecbac3513dc83f280f5f4aca6f Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 10 Nov 2021 07:21:25 -0800 Subject: [PATCH] smyrna: make 'smyrnaGlade' static This variable is not used outside of its containing file. --- cmd/smyrna/main.c | 2 +- cmd/smyrna/smyrnadefs.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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); -- 2.40.0