diff --git a/csync/src/csync_util.c b/csync/src/csync_util.c index 76273b6391..c6e7f666a3 100644 --- a/csync/src/csync_util.c +++ b/csync/src/csync_util.c @@ -103,7 +103,7 @@ void csync_memstat_check(void) { CSYNC_LOG(CSYNC_LOG_PRIORITY_INFO, "Memory: %dK total size, %dK resident, %dK shared", m.size * 4, m.resident * 4, m.shared * 4); } - +#if 0 void csync_win32_set_file_hidden( const char *file, bool h ) { #ifdef _WIN32 const mbchar_t *fileName; @@ -127,6 +127,7 @@ void csync_win32_set_file_hidden( const char *file, bool h ) { (void) file; #endif } +#endif bool (*csync_file_locked_or_open_ext) (const char*) = 0; // filled in by library user void set_csync_file_locked_or_open_ext(bool (*f) (const char*)); diff --git a/csync/src/csync_util.h b/csync/src/csync_util.h index 50ee03f141..cceb71c131 100644 --- a/csync/src/csync_util.h +++ b/csync/src/csync_util.h @@ -30,7 +30,7 @@ const char *csync_instruction_str(enum csync_instructions_e instr); void csync_memstat_check(void); -void csync_win32_set_file_hidden( const char *file, bool hidden ); +// void csync_win32_set_file_hidden( const char *file, bool hidden ); bool csync_file_locked_or_open( const char *dir, const char *fname); #endif /* _CSYNC_UTIL_H */