comparison th_file.c @ 783:db1a132c7754

Add missing void to mark empty function argument lists.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 Dec 2023 07:27:35 +0200
parents 64af66cae541
children
comparison
equal deleted inserted replaced
782:94e8e6ad8c9e 783:db1a132c7754
36 return th_strdup(getenv("HOME")); 36 return th_strdup(getenv("HOME"));
37 #endif 37 #endif
38 } 38 }
39 39
40 40
41 char * th_get_data_dir() 41 char * th_get_data_dir(void)
42 { 42 {
43 #if defined(TH_PLAT_WINDOWS) 43 #if defined(TH_PLAT_WINDOWS)
44 char tmpPath[MAX_PATH]; 44 char tmpPath[MAX_PATH];
45 if (SHGetFolderPath(NULL, CSIDL_APPDATA | CSIDL_FLAG_CREATE, NULL, 0, tmpPath) == S_OK) 45 if (SHGetFolderPath(NULL, CSIDL_APPDATA | CSIDL_FLAG_CREATE, NULL, 0, tmpPath) == S_OK)
46 return th_strdup(tmpPath); 46 return th_strdup(tmpPath);