Update preferences.h

* fix const correctness of `prefs_load()`
* remove some API's that don't exist anymore

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel
2023-08-30 09:20:15 +02:00
parent 1bb1f57128
commit e8348b8d17
2 changed files with 2 additions and 7 deletions

View File

@@ -251,7 +251,7 @@ prefs_reload(void)
}
void
prefs_load(char* config_file)
prefs_load(const char* config_file)
{
if (config_file == NULL) {
prefs_loc = files_get_config_path(FILE_PROFRC);