[girl] Make functions return 'void' (nothing) in the prototype, making it clear for bug #777436



commit 1af02bb0cd7c33fa8c0ecc7559879b3e43e4620a
Author: Ole Aamot <oka oka no>
Date:   Wed Jan 18 12:21:29 2017 +0100

    Make functions return 'void' (nothing) in the prototype, making it clear for bug #777436

 src/girl-player.c  |    2 +-
 src/girl-player.h  |    2 +-
 src/girl-record.c  |    2 +-
 src/girl-record.h  |    2 +-
 src/girl-station.c |    4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/girl-player.c b/src/girl-player.c
index 5e9f86e..151e761 100644
--- a/src/girl-player.c
+++ b/src/girl-player.c
@@ -51,7 +51,7 @@
 
 extern GirlData *girl;
 
-int
+void
 girl_player_main(gchar *streamuri, gchar *name)
 {
  
diff --git a/src/girl-player.h b/src/girl-player.h
index 751a0ef..b121604 100644
--- a/src/girl-player.h
+++ b/src/girl-player.h
@@ -24,7 +24,7 @@
 #ifndef __GIRL_PLAYER__
 #define __GIRL_PLAYER__
 
-int girl_player_main(gchar *streamuri, gchar *name);
+void girl_player_main(gchar *streamuri, gchar *name);
 
 #endif /* __GIRL_PLAYER__ */
 
diff --git a/src/girl-record.c b/src/girl-record.c
index 5f0ac77..1dc2d83 100644
--- a/src/girl-record.c
+++ b/src/girl-record.c
@@ -53,7 +53,7 @@
 
 extern GirlData *girl;
 
-int
+void
 girl_record_main(gchar *streamuri, gchar *name)
 {
  
diff --git a/src/girl-record.h b/src/girl-record.h
index 130f5c7..926d13a 100644
--- a/src/girl-record.h
+++ b/src/girl-record.h
@@ -24,7 +24,7 @@
 #ifndef __GIRL_RECORD__
 #define __GIRL_RECORD__
 
-int girl_record_main(gchar *streamuri, gchar *name);
+void girl_record_main(gchar *streamuri, gchar *name);
 
 #endif /* __GIRL_RECORD__ */
 
diff --git a/src/girl-station.c b/src/girl-station.c
index cceda7f..45c2607 100644
--- a/src/girl-station.c
+++ b/src/girl-station.c
@@ -68,13 +68,13 @@ void show_error(gchar * msg)
 #endif                         /* GIRL_CLI */
 }
 
-GAsyncReadyCallback
+void
 cb_subprocess_player (GSubprocess *subprocess)
 {
        g_subprocess_force_exit(subprocess);
 }
 
-GAsyncReadyCallback
+void
 cb_subprocess_record (GSubprocess *subprocess)
 {
        g_subprocess_force_exit(subprocess);


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