Enlightenment CVS committal

Author  : kwo
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_config


Modified Files:
        ecore_config_ipc_ecore.c ecore_config_private.h 


Log Message:
Add missing prototypes, associated cleanups.
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config_ipc_ecore.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ecore_config_ipc_ecore.c    4 Mar 2005 10:46:19 -0000       1.4
+++ ecore_config_ipc_ecore.c    4 Mar 2005 19:29:39 -0000       1.5
@@ -1,4 +1,5 @@
 /* by Azundris, with thanks to Corey Donohoe <[EMAIL PROTECTED]> */
+#include "ecore_private.h"
 #include "ecore_config_ipc.h"
 #include "ecore_config_util.h"
 #include "ecore_config_private.h"
@@ -19,7 +20,7 @@
 #include "Ecore_Config.h"
 #include "config.h"
 
-#if 1 /* FIXME - No prototypes? */
+
 /*****************************************************************************/
 
 static int
@@ -46,7 +47,7 @@
 }
 
 static char               *
-_ecore_config_ipc_global_prop_list(Ecore_Config_Server * srv, const long 
serial)
+_ecore_config_ipc_global_prop_list(Ecore_Config_Server * srv __UNUSED__, long 
serial __UNUSED__)
 {
    Ecore_Config_DB_File  *db;
    char                 **keys;
@@ -227,7 +228,7 @@
 /*****************************************************************************/
 
 static int
-_ecore_config_ipc_client_add(void *data, int type, void *event)
+_ecore_config_ipc_client_add(void *data, int type __UNUSED__, void *event)
 {
    Ecore_Ipc_Server  **server;
    Ecore_Ipc_Event_Client_Data *e;
@@ -243,7 +244,7 @@
 }
 
 static int
-_ecore_config_ipc_client_del(void *data, int type, void *event)
+_ecore_config_ipc_client_del(void *data, int type __UNUSED__, void *event)
 {
    Ecore_Ipc_Server  **server;
    Ecore_Ipc_Event_Client_Data *e;
@@ -259,7 +260,7 @@
 }
 
 static int
-_ecore_config_ipc_client_sent(void *data, int type, void *event)
+_ecore_config_ipc_client_sent(void *data, int type __UNUSED__, void *event)
 {
    Ecore_Ipc_Server  **server;
    Ecore_Ipc_Event_Client_Data *e;
@@ -277,7 +278,7 @@
 /*****************************************************************************/
 
 int
-_ecore_config_mod_init(char *pipe_name, void **data)
+_ecore_config_mod_init(const char *pipe_name, void **data)
 {
    Ecore_Ipc_Server  **server;
    struct stat         st;
@@ -376,4 +377,3 @@
 }
 
 /*****************************************************************************/
-#endif
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config_private.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ecore_config_private.h      2 Mar 2005 07:06:34 -0000       1.4
+++ ecore_config_private.h      4 Mar 2005 19:29:39 -0000       1.5
@@ -8,6 +8,10 @@
 
 typedef struct _Ecore_Config_DB_File Ecore_Config_DB_File;
 
+int                   _ecore_config_mod_init(const char *pipe_name, void 
**data);
+int                   _ecore_config_mod_exit(void **data);
+int                   _ecore_config_mod_poll(void **data);
+
 Ecore_Config_DB_File *_ecore_config_db_open_read(const char *file);
 Ecore_Config_DB_File *_ecore_config_db_open_write(const char *file);
 void                  _ecore_config_db_close(Ecore_Config_DB_File *db);




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to