5 Dec
2005
5 Dec
'05
3:27 a.m.
"Christian Gmeiner" <christian.gmeiner(a)students.fh-vorarlberg.ac.at> wrote:
+/********************************************************************** + * Dll lifetime tracking declaration + */ +void LockModule(void) +{ + InterlockedIncrement(&dll_count); +} + +void UnlockModule(void) +{ + InterlockedDecrement(&dll_count); +}
Since these 2 are used from inside single source file they can (and should) be made static. -- Dmitry.