[retro-gtk] Use (void) instead of ()



commit 7996d9110efca37dad58c8a4c5bc61b6e67117de
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sat Feb 22 22:04:27 2020 +0500

    Use (void) instead of ()

 retro-gtk/retro-key-joypad-mapping.c | 4 ++--
 retro-gtk/retro-module-query.c       | 2 +-
 retro-gtk/retro-runner-process.c     | 2 +-
 retro-runner/retro-environment.c     | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/retro-gtk/retro-key-joypad-mapping.c b/retro-gtk/retro-key-joypad-mapping.c
index 8ae9ba5..09513d2 100644
--- a/retro-gtk/retro-key-joypad-mapping.c
+++ b/retro-gtk/retro-key-joypad-mapping.c
@@ -103,7 +103,7 @@ retro_key_joypad_mapping_get_button_key (RetroKeyJoypadMapping *self,
  * Returns: (transfer full): a new #RetroKeyJoypadMapping
  */
 RetroKeyJoypadMapping *
-retro_key_joypad_mapping_new ()
+retro_key_joypad_mapping_new (void)
 {
   RetroKeyJoypadMapping *self;
 
@@ -120,7 +120,7 @@ retro_key_joypad_mapping_new ()
  * Returns: (transfer full): a new #RetroKeyJoypadMapping
  */
 RetroKeyJoypadMapping *
-retro_key_joypad_mapping_new_default ()
+retro_key_joypad_mapping_new_default (void)
 {
   RetroKeyJoypadMapping *self;
   RetroJoypadId button;
diff --git a/retro-gtk/retro-module-query.c b/retro-gtk/retro-module-query.c
index cca0f01..abf8e6d 100644
--- a/retro-gtk/retro-module-query.c
+++ b/retro-gtk/retro-module-query.c
@@ -36,7 +36,7 @@ retro_module_query_init (RetroModuleQuery *self)
 }
 
 static gchar **
-get_plugin_lookup_paths ()
+get_plugin_lookup_paths (void)
 {
   gchar **envp;
   const gchar *env_plugin_path;
diff --git a/retro-gtk/retro-runner-process.c b/retro-gtk/retro-runner-process.c
index 9a79881..8551c33 100644
--- a/retro-gtk/retro-runner-process.c
+++ b/retro-gtk/retro-runner-process.c
@@ -219,7 +219,7 @@ create_connection (GSubprocessLauncher  *launcher,
 }
 
 static gboolean
-is_debug ()
+is_debug (void)
 {
   gchar **envp;
   const gchar *env_value;
diff --git a/retro-runner/retro-environment.c b/retro-runner/retro-environment.c
index b8f90d1..409f351 100644
--- a/retro-runner/retro-environment.c
+++ b/retro-runner/retro-environment.c
@@ -585,7 +585,7 @@ audio_sample_batch_cb (gint16 *data,
 }
 
 static void
-input_poll_cb ()
+input_poll_cb (void)
 {
   RetroCore *self = retro_core_get_instance ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]