comparison th_file.c @ 739:32dab9b6058a

Add missing void to function arguments.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 14 Dec 2022 01:31:25 +0200
parents 31bc1ed07cf5
children caeb0a44ebdf
comparison
equal deleted inserted replaced
738:7de6eb6d427c 739:32dab9b6058a
19 # include <sys/stat.h> 19 # include <sys/stat.h>
20 # include <sys/types.h> 20 # include <sys/types.h>
21 #endif 21 #endif
22 22
23 23
24 char * th_get_home_dir() 24 char * th_get_home_dir(void)
25 { 25 {
26 #if defined(TH_PLAT_WINDOWS) 26 #if defined(TH_PLAT_WINDOWS)
27 char tmpPath[MAX_PATH]; 27 char tmpPath[MAX_PATH];
28 if (SHGetFolderPath(NULL, CSIDL_APPDATA | CSIDL_FLAG_CREATE, NULL, 0, tmpPath) == S_OK) 28 if (SHGetFolderPath(NULL, CSIDL_APPDATA | CSIDL_FLAG_CREATE, NULL, 0, tmpPath) == S_OK)
29 return th_strdup(tmpPath); 29 return th_strdup(tmpPath);