From 4ed70bd854d62b26c0d561c1ca9ff19e6133b84b Mon Sep 17 00:00:00 2001 From: Guilherme Janczak <25590950+guijan@users.noreply.github.com> Date: Sat, 1 May 2021 06:57:18 +0000 Subject: [PATCH] make (some) file-scope identifiers static --- xclip.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xclip.c b/xclip.c index f326e4b..50f35e5 100644 --- a/xclip.c +++ b/xclip.c @@ -56,10 +56,10 @@ static int fsecm = F; /* zero out selection buffer before exiting */ Display *dpy; /* connection to X11 display */ XrmDatabase opt_db = NULL; /* database for options */ -char **fil_names; /* names of files to read */ -int fil_number = 0; /* number of files to read */ -int fil_current = 0; -FILE *fil_handle = NULL; +static char **fil_names; /* names of files to read */ +static int fil_number = 0; /* number of files to read */ +static int fil_current = 0; +static FILE *fil_handle = NULL; /* variables to hold Xrm database record and type */ XrmValue rec_val;