From c4aa5b70df4937c97a7d2bc2d104ee2284b460af Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 29 Nov 2005 02:20:28 +0000 Subject: [PATCH] cleanup --- stepmania/src/RageLog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stepmania/src/RageLog.cpp b/stepmania/src/RageLog.cpp index 8f7d889dc8..32c3abdb8e 100644 --- a/stepmania/src/RageLog.cpp +++ b/stepmania/src/RageLog.cpp @@ -7,13 +7,14 @@ #include "RageThreads.h" #include #if defined(_WINDOWS) -#include "windows.h" +#include #endif #include RageLog* LOG; // global and accessable from anywhere in the program -/* We have a couple log types and a couple logs. +/* + * We have a couple log types and a couple logs. * * Traces are for very verbose debug information. Use them as much as you want. * @@ -30,7 +31,6 @@ RageLog* LOG; // global and accessable from anywhere in the program * info.txt receives warnings and infos. This file should be fairly small; small * enough to be mailed without having to be edited or zipped, and small enough * to be very easily read. - * */ /* Map data names to logged data. @@ -51,7 +51,7 @@ RageLog* LOG; // global and accessable from anywhere in the program * * The identifier is never displayed, so we can use a simple local object to * map/unmap, using any mechanism to generate unique IDs. */ -map LogMaps; +static map LogMaps; #define LOG_PATH "log.txt" #define INFO_PATH "info.txt" @@ -60,7 +60,7 @@ static RageFile *g_fileLog, *g_fileInfo; /* Mutex writes to the files. Writing to files is not thread-aware, and this is the * only place we write to the same file from multiple threads. */ -RageMutex *g_Mutex; +static RageMutex *g_Mutex; /* staticlog gets info.txt * crashlog gets log.txt */