reorganized report_* variables in main.c and report.c so that they can be static

to their file; also static-alized other variables an functions in main.c
This commit is contained in:
marschap
2005-04-01 17:17:05 +00:00
parent b9d7338a40
commit b0a9e45704
3 changed files with 120 additions and 110 deletions
+3 -7
View File
@@ -14,7 +14,7 @@
#define MAIN_H
#ifdef HAVE_CONFIG_H
#include "config.h"
# include "config.h"
#endif
/*
@@ -52,10 +52,6 @@ extern char bind_addr[]; /* Do not preinit these strings as they will occupy */
extern char configfile[]; /* a lot of space in the executable. */
extern char user[]; /* The values will be overwritten anyway... */
extern int foreground_mode;
extern int report_level;
/* The drivers and their driver parameters */
extern char *drivernames[];
extern int num_drivers;
@@ -63,7 +59,7 @@ extern int num_drivers;
/* End of configuration variables */
/* Defines for having 'unset' values*/
#define UNSET_INT -1
#define UNSET_STR "\01"
#define UNSET_INT -1
#define UNSET_STR "\01"
#endif