stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cfd478dfc5250df01a303d6d2d0c9b64d062fb97

commit cfd478dfc5250df01a303d6d2d0c9b64d062fb97
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Thu Nov 26 17:23:47 2015 +0100

    evas_cserve2: use void to force empty function parameters
    
    We have to use void in a function declaration if we want no function
    parameters. Using just empty parenthesis means the function takes an
    unspecified number of parameters.
    
    We had it correct for most declarations and this series fixes it for
    the rest.
---
 src/bin/evas/evas_cserve2.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/evas/evas_cserve2.h b/src/bin/evas/evas_cserve2.h
index 2369857..cc3623e 100644
--- a/src/bin/evas/evas_cserve2.h
+++ b/src/bin/evas/evas_cserve2.h
@@ -292,8 +292,8 @@ void cserve2_slave_kill(Slave *s);
 
 void cserve2_message_handler(int fd, Fd_Flags flags, void *data);
 
-void cserve2_shm_init();
-void cserve2_shm_shutdown();
+void cserve2_shm_init(void);
+void cserve2_shm_shutdown(void);
 Shm_Handle *cserve2_shm_request(const char *infix, size_t size);
 Shm_Handle *cserve2_shm_segment_request(Shm_Handle *shm, size_t size);
 Shm_Handle *cserve2_shm_resize(Shm_Handle *shm, size_t newsize);
@@ -394,8 +394,8 @@ int cserve2_shared_mempool_generation_id_set(Shared_Mempool 
*sm, int generation_
 Shared_Array *cserve2_shared_mempool_index_get(Shared_Mempool *sm);
 
 // Shared strings
-const char *cserve2_shared_strings_table_name_get();
-const char *cserve2_shared_strings_index_name_get();
+const char *cserve2_shared_strings_table_name_get(void);
+const char *cserve2_shared_strings_index_name_get(void);
 int cserve2_shared_string_add(const char *str);
 int cserve2_shared_string_ref(int id);
 void cserve2_shared_string_del(int id);

-- 


Reply via email to