From dbf6f4db24aee7315b2782a87e127367887e2036 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 16 Jan 2025 14:21:05 +1300 Subject: Changed reinterpret_cast to static_cast where applicable --- src/c_fl_preferences.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/c_fl_preferences.h') diff --git a/src/c_fl_preferences.h b/src/c_fl_preferences.h index efc6254..9f77dfb 100644 --- a/src/c_fl_preferences.h +++ b/src/c_fl_preferences.h @@ -8,26 +8,18 @@ #define FL_PREFERENCES_GUARD - - typedef void* PREFS; - - extern const int root_fl_prefs_system; extern const int root_fl_prefs_user; extern const int const_fl_path_max; - - extern "C" const char * fl_preferences_new_uuid(); - - extern "C" PREFS new_fl_pref_database_path(char * p, char * v, char * a); extern "C" PREFS new_fl_pref_database_scope(int s, char * v, char * a); extern "C" void upref_fl_pref_database(PREFS e); @@ -40,8 +32,6 @@ extern "C" PREFS new_fl_pref_group_index(PREFS e, int i); extern "C" void free_fl_pref_group(PREFS e); - - extern "C" void fl_preferences_flush(PREFS e); extern "C" int fl_preferences_getuserdatapath(PREFS e, char * p, int len); @@ -93,3 +83,4 @@ extern "C" int fl_preferences_set_void(PREFS e, const char * k, const void * d, #endif + -- cgit