Fix warnings.

SVN revision: 26971
This commit is contained in:
Kim Woelders 2006-11-05 14:19:56 +00:00
parent 5c8603665a
commit 1159a35a17
4 changed files with 6 additions and 9 deletions

View File

@ -189,6 +189,7 @@ extern "C"
EAPI int ecore_config_struct_default(const char *key);
EAPI int ecore_config_struct_int_add(const char *key, const char *name, int val);
EAPI int ecore_config_struct_float_add(const char *key, const char *name, float val);
EAPI int ecore_config_struct_create(const char *key);
EAPI int ecore_config_struct_string_add(const char *key, const char *name, const char* val);
EAPI int ecore_config_struct_theme_add(const char *key, const char *name, const char* val);
EAPI int ecore_config_struct_argb_add(const char *key, const char *name, int a, int r, int g, int b);

View File

@ -21,10 +21,6 @@
static Ecore_Config_Server *__ecore_config_servers;
Ecore_Timer *ipc_timer = NULL;
extern int _ecore_config_ipc_ecore_init(const char *pipe_name, void **data);
extern int _ecore_config_ipc_ecore_exit(void **data);
extern int _ecore_config_ipc_ecore_poll(void **data);
Ecore_Config_Server *
_ecore_config_server_convert(void *srv)
{
@ -213,7 +209,7 @@ _ecore_config_ipc_bundle_label_find(Ecore_Config_Server * srv,
}
static int
_ecore_config_ipc_poll(void *data)
_ecore_config_ipc_poll(void *data __UNUSED__)
{
Ecore_Config_Server *s;

View File

@ -35,6 +35,10 @@ long _ecore_config_argbint_get(Ecore_Config_Prop *e);
float _ecore_config_float_get(Ecore_Config_Prop *e);
char *_ecore_config_theme_get(Ecore_Config_Prop *e);
int _ecore_config_ipc_ecore_init(const char *pipe_name, void **data);
int _ecore_config_ipc_ecore_exit(void **data);
int _ecore_config_ipc_ecore_poll(void **data);
#include "ecore_private.h"
#endif

View File

@ -1147,8 +1147,6 @@ _ecore_ipc_event_client_data(void *data __UNUSED__, int ev_type __UNUSED__, void
}
else
{
unsigned char *buf;
buf = realloc(cl->buf, cl->buf_size + e->size);
if (!buf)
{
@ -1341,8 +1339,6 @@ _ecore_ipc_event_server_data(void *data __UNUSED__, int ev_type __UNUSED__, void
}
else
{
unsigned char *buf;
buf = realloc(svr->buf, svr->buf_size + e->size);
if (!buf)
{