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
+5 -5
View File
@@ -7,7 +7,7 @@
*
* Copyright (c) 1999, William Ferrell, Scott Scriven
* 2001, Joris Robijn
*
* 2005, Peter Marschall
*
* Contains reporting functions
*
@@ -20,13 +20,13 @@
#include <stdio.h>
#include <string.h>
#ifndef WIN32
#include <syslog.h>
# include <syslog.h>
#else
#include <windows.h>
# include <windows.h>
#endif
int report_level = RPT_INFO;
int report_dest = RPT_DEST_STORE;
static int report_level = RPT_INFO;
static int report_dest = RPT_DEST_STORE;
#ifdef WIN32
HANDLE event_log_handle = NULL;