summaryrefslogtreecommitdiff
path: root/storage/connect/inihandl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/connect/inihandl.cpp')
-rw-r--r--storage/connect/inihandl.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/connect/inihandl.cpp b/storage/connect/inihandl.cpp
index dacab3c485c..c39c94fb30d 100644
--- a/storage/connect/inihandl.cpp
+++ b/storage/connect/inihandl.cpp
@@ -112,8 +112,6 @@ static PROFILE *MRUProfile[N_CACHED_PROFILES] = {NULL};
//static CRITICAL_SECTION PROFILE_CritSect = CRITICAL_SECTION_INIT("PROFILE_CritSect");
-static const char hex[17] = "0123456789ABCDEF";
-
BOOL WritePrivateProfileString(LPCSTR section, LPCSTR entry,
LPCSTR string, LPCSTR filename);
@@ -1340,6 +1338,7 @@ BOOL WritePrivateProfileSection(LPCSTR section,
* Note that when the buffer is big enough then the return value may be any
* value between 1 and len-1 (or len in Win95), including len-2.
*/
+#ifdef TEST_MODULE
static DWORD
GetPrivateProfileSectionNames(LPSTR buffer, DWORD size, LPCSTR filename)
{
@@ -1361,7 +1360,6 @@ GetPrivateProfileSectionNames(LPSTR buffer, DWORD size, LPCSTR filename)
/************************************************************************
* Program to test the above
************************************************************************/
-#ifdef TEST_MODULE
int main(int argc, char**argv) {
char buff[128];
char *p, *inifile = "D:\\Plug\\Data\\contact.ini";