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/DiscScrubber.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/DiscScrubber.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscScrubber.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/Core/DiscIO/DiscScrubber.cpp b/Source/Core/DiscIO/DiscScrubber.cpp index 69d98ff046..77936d16b4 100644 --- a/Source/Core/DiscIO/DiscScrubber.cpp +++ b/Source/Core/DiscIO/DiscScrubber.cpp @@ -24,15 +24,15 @@ namespace DiscScrubber #define CLUSTER_SIZE 0x8000 -u8* m_FreeTable = nullptr; -u64 m_FileSize; -u64 m_BlockCount; -u32 m_BlockSize; -int m_BlocksPerCluster; -bool m_isScrubbing = false; +static u8* m_FreeTable = nullptr; +static u64 m_FileSize; +static u64 m_BlockCount; +static u32 m_BlockSize; +static int m_BlocksPerCluster; +static bool m_isScrubbing = false; -std::string m_Filename; -IVolume* m_Disc = nullptr; +static std::string m_Filename; +static IVolume* m_Disc = nullptr; struct SPartitionHeader { @@ -67,7 +67,7 @@ struct SPartitionGroup u64 PartitionsOffset; std::vector<SPartition> PartitionsVec; }; -SPartitionGroup PartitionGroup[4]; +static SPartitionGroup PartitionGroup[4]; void MarkAsUsed(u64 _Offset, u64 _Size); |
