diff options
| author | Maarten ter Huurne <maarten@treewalker.org> | 2008-09-23 08:07:53 +0000 |
|---|---|---|
| committer | Maarten ter Huurne <maarten@treewalker.org> | 2008-09-23 08:07:53 +0000 |
| commit | 65d59e8d6ac898779b8db242ce1907df98b2fd51 (patch) | |
| tree | fbff4711730932680b2c89d49a096e42601334a5 /Source/Core/DiscIO | |
| parent | fa83ed62a088724048cf40dc2f8167ae56702e31 (diff) | |
Gave file scope to functions and consts that are not declared in the header.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@637 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO')
| -rw-r--r-- | Source/Core/DiscIO/Src/VolumeDirectory.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Source/Core/DiscIO/Src/VolumeDirectory.cpp b/Source/Core/DiscIO/Src/VolumeDirectory.cpp index f72cf3a858..ccd15bdcb3 100644 --- a/Source/Core/DiscIO/Src/VolumeDirectory.cpp +++ b/Source/Core/DiscIO/Src/VolumeDirectory.cpp @@ -29,15 +29,14 @@ #include "VolumeDirectory.h"
#include "FileBlob.h"
-const u8 ENTRY_SIZE = 0x0c;
-const u8 FILE_ENTRY = 0;
-const u8 DIRECTORY_ENTRY = 1;
-const u64 FST_ADDRESS = 0x440;
-const u32 MAX_NAME_LENGTH = 0x3df;
-
namespace DiscIO
{
+static const u8 ENTRY_SIZE = 0x0c;
+static const u8 FILE_ENTRY = 0;
+static const u8 DIRECTORY_ENTRY = 1;
+static const u64 FST_ADDRESS = 0x440;
+static const u32 MAX_NAME_LENGTH = 0x3df;
CVolumeDirectory::CVolumeDirectory(const std::string& _rDirectory, bool _bIsWii)
: m_totalNameSize(0)
@@ -452,7 +451,7 @@ void CVolumeDirectory::WriteEntry(const FSTEntry& entry, u32& fstOffset, u32& na }
#ifdef _WIN32
-bool ReadFoundFile(const WIN32_FIND_DATA& ffd, CVolumeDirectory::FSTEntry& entry)
+static bool ReadFoundFile(const WIN32_FIND_DATA& ffd, CVolumeDirectory::FSTEntry& entry)
{
// ignore files starting with a .
if(strncmp(ffd.cFileName, ".", 1) == 0)
|
