Mark global functions and/or variables in moused(8) static where possible.

This allows compilers and static analyzers to do more thorough analysis.
This commit is contained in:
Ed Schouten 2011-11-06 19:02:20 +00:00
parent 4d4fda8051
commit 7a106fe473
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227256

View File

@ -174,14 +174,14 @@ typedef struct {
/* global variables */
int debug = 0;
int nodaemon = FALSE;
int background = FALSE;
int paused = FALSE;
int identify = ID_NONE;
int extioctl = FALSE;
const char *pidfile = "/var/run/moused.pid";
struct pidfh *pfh;
static int debug = 0;
static int nodaemon = FALSE;
static int background = FALSE;
static int paused = FALSE;
static int identify = ID_NONE;
static int extioctl = FALSE;
static const char *pidfile = "/var/run/moused.pid";
static struct pidfh *pfh;
#define SCROLL_NOTSCROLLING 0
#define SCROLL_PREPARE 1