From: David Levine Date: Wed, 1 Jan 2014 19:18:08 +0000 (-0600) Subject: Changed several globals to be static, to avoid collision, X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/41905317cab24a13dc071f16bf0bf7fa3625563e?ds=sidebyside Changed several globals to be static, to avoid collision, notably with "filter" in libtermcap.so, on Solaris. --- diff --git a/uip/repl.c b/uip/repl.c index 840b7620..84374569 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -96,13 +96,13 @@ short cccc = -1; short ccme = -1; short querysw = 0; -short outputlinelen = OUTPUTLINELEN; -short groupreply = 0; /* Is this a group reply? */ +static short outputlinelen = OUTPUTLINELEN; +static short groupreply = 0; /* Is this a group reply? */ -int mime = 0; /* include original as MIME part */ -char *form = NULL; /* form (components) file */ -char *filter = NULL; /* message filter file */ -char *fcc = NULL; /* folders to add to Fcc: header */ +static int mime = 0; /* include original as MIME part */ +static char *form = NULL; /* form (components) file */ +static char *filter = NULL; /* message filter file */ +static char *fcc = NULL; /* folders to add to Fcc: header */ /*