e: remove some warning when compiling on FreeBSD.

Patch by Maxime Villard <rustyBSD@gmx.fr>.


SVN revision: 81772
This commit is contained in:
Cedric BAIL 2012-12-28 00:27:41 +00:00
parent 30489d5afa
commit 5af50c40da
2 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,6 @@
static double bl_val = 1.0; static double bl_val = 1.0;
static double bl_animval = 1.0; static double bl_animval = 1.0;
static double bl_delayval = 1.0;
static int sysmode = MODE_NONE; static int sysmode = MODE_NONE;
static Ecore_Animator *bl_anim = NULL; static Ecore_Animator *bl_anim = NULL;
static Eina_List *bl_devs = NULL; static Eina_List *bl_devs = NULL;
@ -33,6 +32,7 @@ static Eina_Bool _bl_anim(void *data, double pos);
static Eina_Bool bl_avail = EINA_FALSE; static Eina_Bool bl_avail = EINA_FALSE;
static Eina_Bool _e_backlight_handler(void *d, int type, void *ev); static Eina_Bool _e_backlight_handler(void *d, int type, void *ev);
#ifdef HAVE_EEZE #ifdef HAVE_EEZE
static double bl_delayval = 1.0;
static const char *bl_sysval = NULL; static const char *bl_sysval = NULL;
static Ecore_Event_Handler *bl_sys_exit_handler = NULL; static Ecore_Event_Handler *bl_sys_exit_handler = NULL;
static Ecore_Exe *bl_sys_set_exe = NULL; static Ecore_Exe *bl_sys_set_exe = NULL;

View File

@ -808,6 +808,7 @@ _clock_eio_error(void *d __UNUSED__, int type __UNUSED__, void *event __UNUSED__
return ECORE_CALLBACK_RENEW; return ECORE_CALLBACK_RENEW;
} }
#ifdef HAVE_SYS_TIMERFD_H
static Eina_Bool static Eina_Bool
_clock_fd_update(void *d __UNUSED__, Ecore_Fd_Handler *fdh) _clock_fd_update(void *d __UNUSED__, Ecore_Fd_Handler *fdh)
{ {
@ -817,6 +818,7 @@ _clock_fd_update(void *d __UNUSED__, Ecore_Fd_Handler *fdh)
e_int_clock_instances_redo(EINA_TRUE); e_int_clock_instances_redo(EINA_TRUE);
return EINA_TRUE; return EINA_TRUE;
} }
#endif
/* module setup */ /* module setup */
EAPI E_Module_Api e_modapi = EAPI E_Module_Api e_modapi =