[FIX] missing prototypes: add missing "void"
[platform/core/system/swap-manager.git] / daemon / daemon.c
index 0f0412c..13e9ff7 100644 (file)
@@ -71,7 +71,7 @@
 #define MAX_APP_LAUNCH_TIME            60
 #define MAX_CONNECT_TIMEOUT_TIME       5*60
 
-uint64_t get_total_alloc_size()
+uint64_t get_total_alloc_size(void)
 {
        int i;
        uint64_t allocsize = 0;
@@ -337,7 +337,7 @@ static Eina_Bool connect_timer_cb(void *data, Ecore_Fd_Handler *fd_handler)
        return ECORE_CALLBACK_CANCEL;
 }
 
-int launch_timer_start()
+static int launch_timer_start(void)
 {
        int res = 0;
 
@@ -376,7 +376,7 @@ int launch_timer_start()
        return res;
 }
 
-int prepare_profiling()
+int prepare_profiling(void)
 {
        struct app_list_t *app = NULL;
        const struct app_info_t *app_info = NULL;
@@ -402,7 +402,7 @@ int prepare_profiling()
 
 }
 
-int start_profiling()
+int start_profiling(void)
 {
        struct app_list_t *app = NULL;
        const struct app_info_t *app_info = NULL;
@@ -876,7 +876,7 @@ static bool initialize_events(void)
 }
 
 // return 0 for normal case
-int daemonLoop()
+int daemonLoop(void)
 {
        int return_value = 0;