medfall

A super great game engine
Log | Files | Refs

commit 28df9ad1426b84d440709f60f000b10a070be519
parent afa23cfe821695764f93153d5cad5b836cf95165
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Sep  2 18:51:45 +0300

Static

Diffstat:
launcher/main.cc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/launcher/main.cc b/launcher/main.cc @@ -473,7 +473,7 @@ static WORK_QUEUE_CALLBACK( download_file ) { } #if PLATFORM_WINDOWS -void set_registry_key( HKEY hkey, const char * path, const char * value, const char * data ) { +static void set_registry_key( HKEY hkey, const char * path, const char * value, const char * data ) { HKEY key; LONG ok_open = RegOpenKeyExA( hkey, path, 0, KEY_ALL_ACCESS | KEY_WOW64_64KEY, &key ); if( ok_open != ERROR_SUCCESS ) { @@ -488,7 +488,7 @@ void set_registry_key( HKEY hkey, const char * path, const char * value, const c } } -void set_registry_key( HKEY hkey, const char * path, const char * value, u32 data ) { +static void set_registry_key( HKEY hkey, const char * path, const char * value, u32 data ) { HKEY key; LONG ok_open = RegOpenKeyExA( hkey, path, 0, KEY_ALL_ACCESS | KEY_WOW64_64KEY, &key ); if( ok_open != ERROR_SUCCESS ) {