diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-07-11 16:37:42 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-07-11 16:37:42 +0200 |
| commit | 84bf097fb76304eb27d625e5f221dfb5ce922b1f (patch) | |
| tree | 57079ff88525dade11b2d1901357e221df6ddab7 /Source/Core/DiscIO/FileMonitor.cpp | |
| parent | 326af097d9708ea49d54996aec46a7fa328cec1e (diff) | |
| parent | 7e79806efcd5c5e41efea89fa385b480ac1882f5 (diff) | |
Merge pull request #579 from degasus/statics
Mark unexported global variables and functions as statics.
Diffstat (limited to 'Source/Core/DiscIO/FileMonitor.cpp')
| -rw-r--r-- | Source/Core/DiscIO/FileMonitor.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/Core/DiscIO/FileMonitor.cpp b/Source/Core/DiscIO/FileMonitor.cpp index 04ea595a41..ce8799b227 100644 --- a/Source/Core/DiscIO/FileMonitor.cpp +++ b/Source/Core/DiscIO/FileMonitor.cpp @@ -17,6 +17,7 @@ #include "Core/Core.h" #include "Core/Boot/Boot.h" +#include "DiscIO/FileMonitor.h" #include "DiscIO/Filesystem.h" #include "DiscIO/Volume.h" #include "DiscIO/VolumeCreator.h" @@ -24,11 +25,11 @@ namespace FileMon { -DiscIO::IVolume *OpenISO = nullptr; -DiscIO::IFileSystem *pFileSystem = nullptr; -std::vector<const DiscIO::SFileInfo *> GCFiles; -std::string ISOFile = "", CurrentFile = ""; -bool FileAccess = true; +static DiscIO::IVolume *OpenISO = nullptr; +static DiscIO::IFileSystem *pFileSystem = nullptr; +static std::vector<const DiscIO::SFileInfo *> GCFiles; +static std::string ISOFile = "", CurrentFile = ""; +static bool FileAccess = true; // Filtered files bool IsSoundFile(const std::string& filename) |
