[Bf-blender-cvs] [d5163e06c3e] master: Cleanup: strict-prototypes warning
Campbell Barton
noreply at git.blender.org
Sun Mar 29 09:37:04 CEST 2020
Commit: d5163e06c3e3c18e07756fbb86fb3e8f637db2fd
Author: Campbell Barton
Date: Sun Mar 29 16:34:23 2020 +1100
Branches: master
https://developer.blender.org/rBd5163e06c3e3c18e07756fbb86fb3e8f637db2fd
Cleanup: strict-prototypes warning
===================================================================
M source/blender/blenkernel/BKE_sound.h
M source/blender/blenkernel/intern/sound.c
===================================================================
diff --git a/source/blender/blenkernel/BKE_sound.h b/source/blender/blenkernel/BKE_sound.h
index 847adf56a93..685582bcecf 100644
--- a/source/blender/blenkernel/BKE_sound.h
+++ b/source/blender/blenkernel/BKE_sound.h
@@ -117,8 +117,8 @@ void BKE_sound_ensure_scene(struct Scene *scene);
void BKE_sound_destroy_scene(struct Scene *scene);
-void BKE_sound_lock();
-void BKE_sound_unlock();
+void BKE_sound_lock(void);
+void BKE_sound_unlock(void);
void BKE_sound_reset_scene_specs(struct Scene *scene);
diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index a06f73b2003..97a643e88b6 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -1161,10 +1161,10 @@ void BKE_sound_create_scene(Scene *UNUSED(scene))
void BKE_sound_destroy_scene(Scene *UNUSED(scene))
{
}
-void BKE_sound_lock()
+void BKE_sound_lock(void)
{
}
-void BKE_sound_unlock()
+void BKE_sound_unlock(void)
{
}
void BKE_sound_reset_scene_specs(Scene *UNUSED(scene))
More information about the Bf-blender-cvs
mailing list