summaryrefslogtreecommitdiff
path: root/x11-libs/librfm/files/librfm-5.3.16.3-C99-decls.patch
blob: 784647ca92f1df97e14e895beaabbe48b256b498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- a/modules/settings-module.i
+++ b/modules/settings-module.i
@@ -36,7 +36,7 @@
 #define SHRED_OPTIONS rfm_void(RFM_MODULE_DIR, "callbacks","get_shred_options")
 */
 
-static GtkWidget *rfm_check_button_new(){
+static GtkWidget *rfm_check_button_new(void){
 	return gtk_check_button_new ();
 }
 static void
@@ -374,7 +374,7 @@
 }
 
 
-static gchar **get_program_options(i){
+static gchar **get_program_options(gint i){
     if (i >= RFM_OPTIONS) return NULL;
     environ_t *environ_v = rfm_get_environ();
     return environ_v[i].env_options;
--- a/primary/primary-icons.i
+++ b/primary/primary-icons.i
@@ -181,7 +181,7 @@
 	
 
 static void
-init_lite_hash () {
+init_lite_hash (void) {
     // g_once init
     static gsize initialized = 0;
     if (g_once_init_enter (&initialized)){
--- a/primary/primary.c
+++ b/primary/primary.c
@@ -1405,7 +1405,7 @@
 }
 
 static 
-gint get_paste_length(){
+gint get_paste_length(void){
     gint fd = shm_open (PASTE_SHM_NAME, O_RDONLY, S_IRUSR | S_IWUSR);
     if(fd < 0){
 	return 0;