diff --git a/cmake_admin/FindGLib2.cmake b/cmake_admin/FindGLib2.cmake index f6fa6f183..90379e4a6 100644 --- a/cmake_admin/FindGLib2.cmake +++ b/cmake_admin/FindGLib2.cmake @@ -35,7 +35,7 @@ find_package(PkgConfig QUIET) pkg_check_modules(PC_GLIB2 QUIET glib-2.0) pkg_check_modules(PC_GTHREAD2 QUIET gthread-2.0) pkg_check_modules(PC_GMODULE2 QUIET gmodule-2.0) -pkg_check_modules(PC_GMODULE2 QUIET gobject-2.0) +pkg_check_modules(PC_GOBJECT2 QUIET gobject-2.0) # Find the headers and libraries find_path( @@ -209,7 +209,7 @@ if(GLib2_gobject-2_LIBRARY AND NOT TARGET GLib2::gobject-2) # Handle transitive dependencies if(PC_GOBJECT2_FOUND) get_target_properties_from_pkg_config("${GLib2_gobject-2_LIBRARY}" - "PC_OBJECT2" "_gobject2") + "PC_GOBJECT2" "_gobject2") else() find_package(libffi QUIET) set(_gobject2_link_libraries "libffi" "GLib2::glib-2") diff --git a/doc/fluidsettings.xml b/doc/fluidsettings.xml index 643c07032..6b33fab63 100644 --- a/doc/fluidsettings.xml +++ b/doc/fluidsettings.xml @@ -180,8 +180,8 @@ Developers: diff --git a/src/sfloader/fluid_defsfont.c b/src/sfloader/fluid_defsfont.c index 60d4738d4..ef7307dbc 100644 --- a/src/sfloader/fluid_defsfont.c +++ b/src/sfloader/fluid_defsfont.c @@ -1752,7 +1752,7 @@ fluid_preset_zone_get_inst(fluid_preset_zone_t *zone) * new_fluid_inst */ fluid_inst_t * -new_fluid_inst() +new_fluid_inst(void) { fluid_inst_t *inst = FLUID_NEW(fluid_inst_t); diff --git a/src/sfloader/fluid_sfont.c b/src/sfloader/fluid_sfont.c index 00423c003..cad6f18da 100644 --- a/src/sfloader/fluid_sfont.c +++ b/src/sfloader/fluid_sfont.c @@ -497,7 +497,7 @@ void delete_fluid_preset(fluid_preset_t *preset) * @return The sample on success, NULL otherwise. */ fluid_sample_t * -new_fluid_sample() +new_fluid_sample(void) { fluid_sample_t *sample = NULL; @@ -544,7 +544,7 @@ delete_fluid_sample(fluid_sample_t *sample) * * @warning Do NOT allocate samples on the stack and assign them to a voice! */ -size_t fluid_sample_sizeof() +size_t fluid_sample_sizeof(void) { return sizeof(fluid_sample_t); } diff --git a/src/synth/fluid_event.c b/src/synth/fluid_event.c index 48b781bd7..88adb77b1 100644 --- a/src/synth/fluid_event.c +++ b/src/synth/fluid_event.c @@ -56,7 +56,7 @@ fluid_event_clear(fluid_event_t *evt) * @return New sequencer event structure or NULL if out of memory */ fluid_event_t * -new_fluid_event() +new_fluid_event(void) { fluid_event_t *evt;