Ecore: __UNUSED__ --> EINA_UNUSED

SVN revision: 79649
This commit is contained in:
Vincent Torri 2012-11-25 09:55:32 +00:00
parent 1205ecd5da
commit 3a67711840
86 changed files with 715 additions and 713 deletions

View File

@ -547,8 +547,8 @@ ecore_thread_main_loop_end(void)
}
EAPI void
ecore_print_warning(const char *function __UNUSED__,
const char *sparam __UNUSED__)
ecore_print_warning(const char *function EINA_UNUSED,
const char *sparam EINA_UNUSED)
{
WRN("***** Developer Warning ***** :\n"
"\tThis program is calling:\n\n"
@ -563,7 +563,7 @@ EAPI void
_ecore_magic_fail(const void *d,
Ecore_Magic m,
Ecore_Magic req_m,
const char *fname __UNUSED__)
const char *fname EINA_UNUSED)
{
ERR("\n"
"*** ECORE ERROR: Ecore Magic Check Failed!!!\n"
@ -749,7 +749,7 @@ _ecore_fps_debug_runtime_add(double t)
#if HAVE_MALLINFO
static Eina_Bool
_ecore_memory_statistic(__UNUSED__ void *data)
_ecore_memory_statistic(EINA_UNUSED void *data)
{
struct mallinfo mi;
static int uordblks = 0;
@ -857,9 +857,9 @@ _ecore_main_call_flush(void)
}
static void
_thread_callback(void *data __UNUSED__,
void *buffer __UNUSED__,
unsigned int nbyte __UNUSED__)
_thread_callback(void *data EINA_UNUSED,
void *buffer EINA_UNUSED,
unsigned int nbyte EINA_UNUSED)
{
_ecore_main_call_flush();
}

View File

@ -587,7 +587,7 @@ _ecore_animator_run(void *data)
}
static Eina_Bool
_ecore_animator(void *data __UNUSED__)
_ecore_animator(void *data EINA_UNUSED)
{
Eina_Bool r;
_ecore_lock();

View File

@ -183,7 +183,7 @@ unlock:
}
static void
_ecore_event_generic_free(void *data __UNUSED__,
_ecore_event_generic_free(void *data EINA_UNUSED,
void *event)
{ /* DO NOT MEMPOOL FREE THIS */
free(event);

View File

@ -150,7 +150,7 @@ static Eina_Bool _ecore_exe_data_read_handler(void *data,
static Eina_Bool _ecore_exe_data_write_handler(void *data,
Ecore_Fd_Handler *fd_handler);
static void _ecore_exe_flush(Ecore_Exe *exe);
static void _ecore_exe_event_exe_data_free(void *data __UNUSED__,
static void _ecore_exe_event_exe_data_free(void *data EINA_UNUSED,
void *ev);
static Ecore_Exe *_ecore_exe_is_it_alive(pid_t pid);
static Eina_Bool _ecore_exe_make_sure_its_dead(void *data);
@ -187,8 +187,8 @@ static int _ecore_exe_check_errno(int result,
static int
_ecore_exe_check_errno(int result,
const char *file __UNUSED__,
int line __UNUSED__)
const char *file EINA_UNUSED,
int line EINA_UNUSED)
{
int saved_errno = errno;
@ -1777,7 +1777,7 @@ _ecore_exe_data_read_handler(void *data,
static Eina_Bool
_ecore_exe_data_write_handler(void *data,
Ecore_Fd_Handler *fd_handler __UNUSED__)
Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Ecore_Exe *exe;
@ -1844,7 +1844,7 @@ _ecore_exe_flush(Ecore_Exe *exe)
}
static void
_ecore_exe_event_exe_data_free(void *data __UNUSED__,
_ecore_exe_event_exe_data_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Data *e;
@ -1863,7 +1863,7 @@ _ecore_exe_event_add_new(void)
}
static void
_ecore_exe_event_add_free(void *data __UNUSED__,
_ecore_exe_event_add_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Add *e;
@ -1882,7 +1882,7 @@ _ecore_exe_event_del_new(void)
}
void
_ecore_exe_event_del_free(void *data __UNUSED__,
_ecore_exe_event_del_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Del *e;

View File

@ -378,11 +378,11 @@ ecore_exe_close_stdin(Ecore_Exe *exe)
/* Not used on Windows */
EAPI void
ecore_exe_auto_limits_set(Ecore_Exe *exe __UNUSED__,
int start_bytes __UNUSED__,
int end_bytes __UNUSED__,
int start_lines __UNUSED__,
int end_lines __UNUSED__)
ecore_exe_auto_limits_set(Ecore_Exe *exe EINA_UNUSED,
int start_bytes EINA_UNUSED,
int end_bytes EINA_UNUSED,
int start_lines EINA_UNUSED,
int end_lines EINA_UNUSED)
{
}
@ -629,7 +629,7 @@ ecore_exe_kill(Ecore_Exe *exe)
EAPI void
ecore_exe_signal(Ecore_Exe *exe,
int num __UNUSED__)
int num EINA_UNUSED)
{
if (!ECORE_MAGIC_CHECK(exe, ECORE_MAGIC_EXE))
{
@ -852,7 +852,7 @@ _ecore_exe_win32_pipes_close(Ecore_Exe *exe)
}
static DWORD WINAPI
_ecore_exe_thread_procedure(LPVOID data __UNUSED__)
_ecore_exe_thread_procedure(LPVOID data EINA_UNUSED)
{
GenerateConsoleCtrlEvent(CTRL_C_EVENT, 0);
GenerateConsoleCtrlEvent(CTRL_BREAK_EVENT, 0);
@ -927,7 +927,7 @@ _ecore_exe_enum_windows_procedure(HWND window,
}
static void
_ecore_exe_event_add_free(void *data __UNUSED__,
_ecore_exe_event_add_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Add *e;
@ -937,7 +937,7 @@ _ecore_exe_event_add_free(void *data __UNUSED__,
}
static void
_ecore_exe_event_del_free(void *data __UNUSED__,
_ecore_exe_event_del_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Del *e;
@ -949,7 +949,7 @@ _ecore_exe_event_del_free(void *data __UNUSED__,
}
static void
_ecore_exe_event_exe_data_free(void *data __UNUSED__,
_ecore_exe_event_exe_data_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Exe_Event_Data *e;
@ -960,7 +960,7 @@ _ecore_exe_event_exe_data_free(void *data __UNUSED__,
static Eina_Bool
_ecore_exe_close_cb(void *data,
Ecore_Win32_Handler *wh __UNUSED__)
Ecore_Win32_Handler *wh EINA_UNUSED)
{
Ecore_Exe_Event_Del *e;
Ecore_Exe *exe;
@ -1009,7 +1009,7 @@ _ecore_exe_pipe_read_cb(void *data,
static int
_ecore_exe_pipe_write_cb(void *data,
Ecore_Win32_Handler *wh __UNUSED__)
Ecore_Win32_Handler *wh EINA_UNUSED)
{
char buf[READBUFSIZ];
Ecore_Exe *exe;

View File

@ -62,7 +62,7 @@ static int helpcol = 80 / 3;
static void
_ecore_getopt_help_print_replace_program(FILE *fp,
const Ecore_Getopt *parser __UNUSED__,
const Ecore_Getopt *parser EINA_UNUSED,
const char *text)
{
do
@ -925,7 +925,7 @@ _ecore_getopt_parse_double(const char *str,
}
static Eina_Bool
_ecore_getopt_parse_store(const Ecore_Getopt *parser __UNUSED__,
_ecore_getopt_parse_store(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *value,
const char *arg_val)
@ -1067,10 +1067,10 @@ use_optional:
}
static Eina_Bool
_ecore_getopt_parse_store_const(const Ecore_Getopt *parser __UNUSED__,
_ecore_getopt_parse_store_const(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val __UNUSED__)
const char *arg_val EINA_UNUSED)
{
if (!val->ptrp)
{
@ -1083,10 +1083,10 @@ _ecore_getopt_parse_store_const(const Ecore_Getopt *parser __UNUSED__,
}
static Eina_Bool
_ecore_getopt_parse_store_true(const Ecore_Getopt *parser __UNUSED__,
_ecore_getopt_parse_store_true(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val __UNUSED__)
const char *arg_val EINA_UNUSED)
{
if (!val->boolp)
{
@ -1098,10 +1098,10 @@ _ecore_getopt_parse_store_true(const Ecore_Getopt *parser __UNUSED__,
}
static Eina_Bool
_ecore_getopt_parse_store_false(const Ecore_Getopt *parser __UNUSED__,
_ecore_getopt_parse_store_false(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val __UNUSED__)
const char *arg_val EINA_UNUSED)
{
if (!val->boolp)
{
@ -1113,7 +1113,7 @@ _ecore_getopt_parse_store_false(const Ecore_Getopt *parser __UNUSED__,
}
static Eina_Bool
_ecore_getopt_parse_choice(const Ecore_Getopt *parser __UNUSED__,
_ecore_getopt_parse_choice(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val)
@ -1150,7 +1150,7 @@ _ecore_getopt_parse_choice(const Ecore_Getopt *parser __UNUSED__,
}
static Eina_Bool
_ecore_getopt_parse_append(const Ecore_Getopt *parser __UNUSED__,
_ecore_getopt_parse_append(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val)
@ -1282,10 +1282,10 @@ error:
}
static Eina_Bool
_ecore_getopt_parse_count(const Ecore_Getopt *parser __UNUSED__,
_ecore_getopt_parse_count(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val __UNUSED__)
const char *arg_val EINA_UNUSED)
{
if (!val->intp)
{
@ -1346,9 +1346,9 @@ _ecore_getopt_parse_callback(const Ecore_Getopt *parser,
static Eina_Bool
_ecore_getopt_parse_help(const Ecore_Getopt *parser,
const Ecore_Getopt_Desc *desc __UNUSED__,
const Ecore_Getopt_Desc *desc EINA_UNUSED,
Ecore_Getopt_Value *val,
const char *arg_val __UNUSED__)
const char *arg_val EINA_UNUSED)
{
if (val->boolp)
(*val->boolp) = EINA_TRUE;
@ -1360,7 +1360,7 @@ static Eina_Bool
_ecore_getopt_parse_version(const Ecore_Getopt *parser,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val __UNUSED__)
const char *arg_val EINA_UNUSED)
{
if (val->boolp)
(*val->boolp) = EINA_TRUE;
@ -1377,7 +1377,7 @@ static Eina_Bool
_ecore_getopt_parse_copyright(const Ecore_Getopt *parser,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val __UNUSED__)
const char *arg_val EINA_UNUSED)
{
if (val->boolp)
(*val->boolp) = EINA_TRUE;
@ -1394,7 +1394,7 @@ static Eina_Bool
_ecore_getopt_parse_license(const Ecore_Getopt *parser,
const Ecore_Getopt_Desc *desc,
Ecore_Getopt_Value *val,
const char *arg_val __UNUSED__)
const char *arg_val EINA_UNUSED)
{
if (val->boolp)
(*val->boolp) = EINA_TRUE;
@ -1459,7 +1459,7 @@ _ecore_getopt_desc_handle(const Ecore_Getopt *parser,
static Eina_Bool
_ecore_getopt_parse_arg_long(const Ecore_Getopt *parser,
Ecore_Getopt_Value *values,
int argc __UNUSED__,
int argc EINA_UNUSED,
char **argv,
int *idx,
int *nonargs,
@ -1529,7 +1529,7 @@ _ecore_getopt_parse_arg_long(const Ecore_Getopt *parser,
static Eina_Bool
_ecore_getopt_parse_arg_short(const Ecore_Getopt *parser,
Ecore_Getopt_Value *values,
int argc __UNUSED__,
int argc EINA_UNUSED,
char **argv,
int *idx,
int *nonargs,
@ -1883,10 +1883,10 @@ ecore_getopt_list_free(Eina_List *list)
* @c callback_data value is ignored, you can safely use @c NULL.
*/
EAPI Eina_Bool
ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser __UNUSED__,
const Ecore_Getopt_Desc *desc __UNUSED__,
ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc EINA_UNUSED,
const char *str,
void *data __UNUSED__,
void *data EINA_UNUSED,
Ecore_Getopt_Value *storage)
{
Eina_Rectangle *v = (Eina_Rectangle *)storage->ptrp;
@ -1915,10 +1915,10 @@ ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser __UNUSED__,
* @c callback_data value is ignored, you can safely use @c NULL.
*/
EAPI Eina_Bool
ecore_getopt_callback_size_parse(const Ecore_Getopt *parser __UNUSED__,
const Ecore_Getopt_Desc *desc __UNUSED__,
ecore_getopt_callback_size_parse(const Ecore_Getopt *parser EINA_UNUSED,
const Ecore_Getopt_Desc *desc EINA_UNUSED,
const char *str,
void *data __UNUSED__,
void *data EINA_UNUSED,
Ecore_Getopt_Value *storage)
{
Eina_Rectangle *v = (Eina_Rectangle *)storage->ptrp;

View File

@ -142,8 +142,8 @@ _destructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
*/
static Eina_Bool
_ecore_job_event_handler(void *data __UNUSED__,
int type __UNUSED__,
_ecore_job_event_handler(void *data EINA_UNUSED,
int type EINA_UNUSED,
void *ev)
{
Ecore_Job_Private_Data *job;
@ -155,7 +155,7 @@ _ecore_job_event_handler(void *data __UNUSED__,
static void
_ecore_job_event_free(void *data,
void *job __UNUSED__)
void *job EINA_UNUSED)
{
eo_parent_set(data, NULL);

View File

@ -92,25 +92,25 @@ struct epoll_event
};
static inline int
epoll_create(int size __UNUSED__)
epoll_create(int size EINA_UNUSED)
{
return -1;
}
static inline int
epoll_wait(int epfd __UNUSED__,
struct epoll_event *events __UNUSED__,
int maxevents __UNUSED__,
int timeout __UNUSED__)
epoll_wait(int epfd EINA_UNUSED,
struct epoll_event *events EINA_UNUSED,
int maxevents EINA_UNUSED,
int timeout EINA_UNUSED)
{
return -1;
}
static inline int
epoll_ctl(int epfd __UNUSED__,
int op __UNUSED__,
int fd __UNUSED__,
struct epoll_event *event __UNUSED__)
epoll_ctl(int epfd EINA_UNUSED,
int op EINA_UNUSED,
int fd EINA_UNUSED,
struct epoll_event *event EINA_UNUSED)
{
return -1;
}
@ -128,17 +128,17 @@ epoll_ctl(int epfd __UNUSED__,
# define TFD_NONBLOCK 0 /* bogus value */
# endif
static inline int
timerfd_create(int clockid __UNUSED__,
int flags __UNUSED__)
timerfd_create(int clockid EINA_UNUSED,
int flags EINA_UNUSED)
{
return -1;
}
static inline int
timerfd_settime(int fd __UNUSED__,
int flags __UNUSED__,
const struct itimerspec *new_value __UNUSED__,
struct itimerspec *old_value __UNUSED__)
timerfd_settime(int fd EINA_UNUSED,
int flags EINA_UNUSED,
const struct itimerspec *new_value EINA_UNUSED,
struct itimerspec *old_value EINA_UNUSED)
{
return -1;
}
@ -516,7 +516,7 @@ _ecore_main_fdh_glib_mark_active(void)
/* like we are about to enter main_loop_select in _ecore_main_select */
static gboolean
_ecore_main_gsource_prepare(GSource *source __UNUSED__,
_ecore_main_gsource_prepare(GSource *source EINA_UNUSED,
gint *next_time)
{
gboolean ready = FALSE;
@ -607,7 +607,7 @@ _ecore_main_gsource_prepare(GSource *source __UNUSED__,
}
static gboolean
_ecore_main_gsource_check(GSource *source __UNUSED__)
_ecore_main_gsource_check(GSource *source EINA_UNUSED)
{
gboolean ret = FALSE;
@ -658,9 +658,9 @@ _ecore_main_gsource_check(GSource *source __UNUSED__)
/* like we just came out of main_loop_select in _ecore_main_select */
static gboolean
_ecore_main_gsource_dispatch(GSource *source __UNUSED__,
GSourceFunc callback __UNUSED__,
gpointer user_data __UNUSED__)
_ecore_main_gsource_dispatch(GSource *source EINA_UNUSED,
GSourceFunc callback EINA_UNUSED,
gpointer user_data EINA_UNUSED)
{
gboolean events_ready, timers_ready, idlers_ready;
double next_time;
@ -730,7 +730,7 @@ _ecore_main_gsource_dispatch(GSource *source __UNUSED__,
}
static void
_ecore_main_gsource_finalize(GSource *source __UNUSED__)
_ecore_main_gsource_finalize(GSource *source EINA_UNUSED)
{
}
@ -1135,9 +1135,9 @@ ecore_main_win32_handler_add(void *h,
#else
EAPI Ecore_Win32_Handler *
ecore_main_win32_handler_add(void *h __UNUSED__,
Ecore_Win32_Handle_Cb func __UNUSED__,
const void *data __UNUSED__)
ecore_main_win32_handler_add(void *h EINA_UNUSED,
Ecore_Win32_Handle_Cb func EINA_UNUSED,
const void *data EINA_UNUSED)
{
return NULL;
}
@ -1182,7 +1182,7 @@ ecore_main_win32_handler_del(Ecore_Win32_Handler *win32_handler)
#else
EAPI void *
ecore_main_win32_handler_del(Ecore_Win32_Handler *win32_handler __UNUSED__)
ecore_main_win32_handler_del(Ecore_Win32_Handler *win32_handler EINA_UNUSED)
{
return NULL;
}
@ -1930,7 +1930,7 @@ done: /*******************************************************************/
#ifdef _WIN32
static int
_ecore_main_win32_select(int nfds __UNUSED__,
_ecore_main_win32_select(int nfds EINA_UNUSED,
fd_set *readfds,
fd_set *writefds,
fd_set *exceptfds,

View File

@ -552,7 +552,7 @@ _ecore_pipe_handler_call(Ecore_Pipe *p,
static Eina_Bool
_ecore_pipe_read(void *data,
Ecore_Fd_Handler *fd_handler __UNUSED__)
Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Ecore_Pipe *p = (Ecore_Pipe *)data;
int i;

View File

@ -116,7 +116,7 @@ _ecore_poller_next_tick_eval(void)
}
static Eina_Bool
_ecore_poller_cb_timer(void *data __UNUSED__)
_ecore_poller_cb_timer(void *data EINA_UNUSED)
{
int i;
Ecore_Poller_Private_Data *poller, *l;
@ -210,7 +210,7 @@ _ecore_poller_cb_timer(void *data __UNUSED__)
}
EAPI void
ecore_poller_poll_interval_set(Ecore_Poller_Type type __UNUSED__,
ecore_poller_poll_interval_set(Ecore_Poller_Type type EINA_UNUSED,
double poll_time)
{
EINA_MAIN_LOOP_CHECK_RETURN;
@ -226,7 +226,7 @@ ecore_poller_poll_interval_set(Ecore_Poller_Type type __UNUSED__,
}
EAPI double
ecore_poller_poll_interval_get(Ecore_Poller_Type type __UNUSED__)
ecore_poller_poll_interval_get(Ecore_Poller_Type type EINA_UNUSED)
{
EINA_MAIN_LOOP_CHECK_RETURN_VAL(0.0);
return poll_interval;
@ -240,7 +240,7 @@ _constructor(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
}
EAPI Ecore_Poller *
ecore_poller_add(Ecore_Poller_Type type __UNUSED__,
ecore_poller_add(Ecore_Poller_Type type EINA_UNUSED,
int interval,
Ecore_Task_Cb func,
const void *data)

View File

@ -134,7 +134,7 @@ _ecore_signal_count_get(void)
}
static void
_ecore_signal_generic_free(void *data __UNUSED__,
_ecore_signal_generic_free(void *data EINA_UNUSED,
void *event)
{
free(event);
@ -423,16 +423,16 @@ _ecore_signal_callback_set(int sig,
}
static void
_ecore_signal_callback_ignore(int sig __UNUSED__,
siginfo_t *si __UNUSED__,
void *foo __UNUSED__)
_ecore_signal_callback_ignore(int sig EINA_UNUSED,
siginfo_t *si EINA_UNUSED,
void *foo EINA_UNUSED)
{
}
static void
_ecore_signal_callback_sigchld(int sig __UNUSED__,
_ecore_signal_callback_sigchld(int sig EINA_UNUSED,
siginfo_t *si,
void *foo __UNUSED__)
void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigchld_count;
@ -449,9 +449,9 @@ _ecore_signal_callback_sigchld(int sig __UNUSED__,
}
static void
_ecore_signal_callback_sigusr1(int sig __UNUSED__,
_ecore_signal_callback_sigusr1(int sig EINA_UNUSED,
siginfo_t *si,
void *foo __UNUSED__)
void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigusr1_count;
@ -467,9 +467,9 @@ _ecore_signal_callback_sigusr1(int sig __UNUSED__,
}
static void
_ecore_signal_callback_sigusr2(int sig __UNUSED__,
_ecore_signal_callback_sigusr2(int sig EINA_UNUSED,
siginfo_t *si,
void *foo __UNUSED__)
void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigusr2_count;
@ -485,9 +485,9 @@ _ecore_signal_callback_sigusr2(int sig __UNUSED__,
}
static void
_ecore_signal_callback_sighup(int sig __UNUSED__,
_ecore_signal_callback_sighup(int sig EINA_UNUSED,
siginfo_t *si,
void *foo __UNUSED__)
void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sighup_count;
@ -503,9 +503,9 @@ _ecore_signal_callback_sighup(int sig __UNUSED__,
}
static void
_ecore_signal_callback_sigquit(int sig __UNUSED__,
_ecore_signal_callback_sigquit(int sig EINA_UNUSED,
siginfo_t *si,
void *foo __UNUSED__)
void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigquit_count;
@ -521,9 +521,9 @@ _ecore_signal_callback_sigquit(int sig __UNUSED__,
}
static void
_ecore_signal_callback_sigint(int sig __UNUSED__,
_ecore_signal_callback_sigint(int sig EINA_UNUSED,
siginfo_t *si,
void *foo __UNUSED__)
void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigint_count;
@ -539,9 +539,9 @@ _ecore_signal_callback_sigint(int sig __UNUSED__,
}
static void
_ecore_signal_callback_sigterm(int sig __UNUSED__,
_ecore_signal_callback_sigterm(int sig EINA_UNUSED,
siginfo_t *si,
void *foo __UNUSED__)
void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigterm_count;
@ -558,9 +558,9 @@ _ecore_signal_callback_sigterm(int sig __UNUSED__,
#ifdef SIGPWR
static void
_ecore_signal_callback_sigpwr(int sig __UNUSED__,
_ecore_signal_callback_sigpwr(int sig EINA_UNUSED,
siginfo_t *si,
void *foo __UNUSED__)
void *foo EINA_UNUSED)
{
volatile sig_atomic_t n;
n = sigpwr_count;

View File

@ -276,7 +276,7 @@ _ecore_thread_handler(void *data)
#if 0
static void
_ecore_nothing_handler(void *data __UNUSED__, void *buffer __UNUSED__, unsigned int nbyte __UNUSED__)
_ecore_nothing_handler(void *data EINA_UNUSED, void *buffer EINA_UNUSED, unsigned int nbyte EINA_UNUSED)
{
}
#endif
@ -460,7 +460,7 @@ _ecore_direct_worker(Ecore_Pthread_Worker *work)
}
static void *
_ecore_thread_worker(void *data __UNUSED__)
_ecore_thread_worker(void *data EINA_UNUSED)
{
restart:
_ecore_short_job(PHS());

View File

@ -1322,7 +1322,7 @@ size_t dns_d_cleave(void *dst, size_t lim, const void *src, size_t len) {
} /* dns_d_cleave() */
size_t dns_d_comp(void *dst_, size_t lim, const void *src_, size_t len, struct dns_packet *P, int *error __UNUSED__) {
size_t dns_d_comp(void *dst_, size_t lim, const void *src_, size_t len, struct dns_packet *P, int *error EINA_UNUSED) {
struct { unsigned char *b; size_t p, x; } dst, src;
unsigned char ch = '.';
@ -1943,12 +1943,12 @@ lower:
} /* dns_rr_i_skip() */
int dns_rr_i_packet(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i __UNUSED__, struct dns_packet *P __UNUSED__) {
int dns_rr_i_packet(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i EINA_UNUSED, struct dns_packet *P EINA_UNUSED) {
return (int)a->dn.p - (int)b->dn.p;
} /* dns_rr_i_packet() */
int dns_rr_i_order(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i __UNUSED__, struct dns_packet *P) {
int dns_rr_i_order(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i EINA_UNUSED, struct dns_packet *P) {
int cmp;
if ((cmp = a->section - b->section))
@ -1961,7 +1961,7 @@ int dns_rr_i_order(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i __UNUS
} /* dns_rr_i_order() */
int dns_rr_i_shuffle(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i, struct dns_packet *P __UNUSED__) {
int dns_rr_i_shuffle(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i, struct dns_packet *P EINA_UNUSED) {
int cmp;
while (!i->state.regs[0])
@ -1974,7 +1974,7 @@ int dns_rr_i_shuffle(struct dns_rr *a, struct dns_rr *b, struct dns_rr_i *i, str
} /* dns_rr_i_shuffle() */
struct dns_rr_i *dns_rr_i_init(struct dns_rr_i *i, struct dns_packet *P __UNUSED__) {
struct dns_rr_i *dns_rr_i_init(struct dns_rr_i *i, struct dns_packet *P EINA_UNUSED) {
static const struct dns_rr_i i_initializer;
i->state = i_initializer.state;
@ -2948,7 +2948,7 @@ int dns_txt_push(struct dns_packet *P, struct dns_txt *txt) {
} /* dns_txt_push() */
int dns_txt_cmp(const struct dns_txt *a __UNUSED__, const struct dns_txt *b __UNUSED__) {
int dns_txt_cmp(const struct dns_txt *a EINA_UNUSED, const struct dns_txt *b EINA_UNUSED) {
return -1;
} /* dns_txt_cmp() */
@ -4040,7 +4040,7 @@ struct dns_hints {
}; /* struct dns_hints */
struct dns_hints *dns_hints_open(struct dns_resolv_conf *resconf __UNUSED__, int *error) {
struct dns_hints *dns_hints_open(struct dns_resolv_conf *resconf EINA_UNUSED, int *error) {
static const struct dns_hints H_initializer;
struct dns_hints *H;
@ -4439,47 +4439,47 @@ int dns_hints_dump(struct dns_hints *hints, FILE *fp) {
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
static dns_atomic_t dns_cache_acquire(struct dns_cache *cache __UNUSED__) {
static dns_atomic_t dns_cache_acquire(struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_acquire() */
static dns_atomic_t dns_cache_release(struct dns_cache *cache __UNUSED__) {
static dns_atomic_t dns_cache_release(struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_release() */
static struct dns_packet *dns_cache_query(struct dns_packet *query __UNUSED__, struct dns_cache *cache __UNUSED__, int *error __UNUSED__) {
static struct dns_packet *dns_cache_query(struct dns_packet *query EINA_UNUSED, struct dns_cache *cache EINA_UNUSED, int *error EINA_UNUSED) {
return 0;
} /* dns_cache_submit() */
static int dns_cache_submit(struct dns_packet *query __UNUSED__, struct dns_cache *cache __UNUSED__) {
static int dns_cache_submit(struct dns_packet *query EINA_UNUSED, struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_submit() */
static int dns_cache_check(struct dns_cache *cache __UNUSED__) {
static int dns_cache_check(struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_check() */
static struct dns_packet *dns_cache_fetch(struct dns_cache *cache __UNUSED__, int *error __UNUSED__) {
static struct dns_packet *dns_cache_fetch(struct dns_cache *cache EINA_UNUSED, int *error EINA_UNUSED) {
return 0;
} /* dns_cache_fetch() */
static int dns_cache_pollfd(struct dns_cache *cache __UNUSED__) {
static int dns_cache_pollfd(struct dns_cache *cache EINA_UNUSED) {
return -1;
} /* dns_cache_pollfd() */
static short dns_cache_events(struct dns_cache *cache __UNUSED__) {
static short dns_cache_events(struct dns_cache *cache EINA_UNUSED) {
return 0;
} /* dns_cache_events() */
static void dns_cache_clear(struct dns_cache *cache __UNUSED__) {
static void dns_cache_clear(struct dns_cache *cache EINA_UNUSED) {
return;
} /* dns_cache_clear() */
@ -5345,7 +5345,7 @@ epilog:
} /* dns_res_stub() */
static void dns_res_reset_frame(struct dns_resolver *R __UNUSED__, struct dns_res_frame *frame) {
static void dns_res_reset_frame(struct dns_resolver *R EINA_UNUSED, struct dns_res_frame *frame) {
free(frame->query);
free(frame->answer);
free(frame->hints);

View File

@ -47,6 +47,8 @@
#include <netdb.h> /* struct addrinfo */
#endif
#include <Eina.h> /* EINA_UNUSED */
/*
* V E R S I O N

View File

@ -1811,7 +1811,7 @@ _ecore_con_pretty_ip(struct sockaddr *client_addr)
static Eina_Bool
_ecore_con_svr_tcp_handler(void *data,
Ecore_Fd_Handler *fd_handler __UNUSED__)
Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Ecore_Con_Server *svr;
Ecore_Con_Client *cl = NULL;
@ -2458,7 +2458,7 @@ _ecore_con_event_client_data_free(Ecore_Con_Server *svr,
}
static void
_ecore_con_event_server_add_free(void *data __UNUSED__,
_ecore_con_event_server_add_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Con_Event_Server_Add *e;
@ -2477,7 +2477,7 @@ _ecore_con_event_server_add_free(void *data __UNUSED__,
}
static void
_ecore_con_event_server_del_free(void *data __UNUSED__,
_ecore_con_event_server_del_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Con_Event_Server_Del *e;
@ -2496,7 +2496,7 @@ _ecore_con_event_server_del_free(void *data __UNUSED__,
}
static void
_ecore_con_event_server_write_free(void *data __UNUSED__,
_ecore_con_event_server_write_free(void *data EINA_UNUSED,
Ecore_Con_Event_Server_Write *e)
{
if (e->server)
@ -2513,7 +2513,7 @@ _ecore_con_event_server_write_free(void *data __UNUSED__,
}
static void
_ecore_con_event_server_data_free(void *data __UNUSED__,
_ecore_con_event_server_data_free(void *data EINA_UNUSED,
void *ev)
{
Ecore_Con_Event_Server_Data *e;
@ -2535,7 +2535,7 @@ _ecore_con_event_server_data_free(void *data __UNUSED__,
static void
_ecore_con_event_server_error_free(void *data __UNUSED__, Ecore_Con_Event_Server_Error *e)
_ecore_con_event_server_error_free(void *data EINA_UNUSED, Ecore_Con_Event_Server_Error *e)
{
if (e->server)
{

View File

@ -351,7 +351,7 @@ ecore_con_info_data_clear(void *info)
}
static Eina_Bool
_ecore_con_info_cares_timeout_cb(void *data __UNUSED__)
_ecore_con_info_cares_timeout_cb(void *data EINA_UNUSED)
{
ares_process_fd(info_channel, ARES_SOCKET_BAD, ARES_SOCKET_BAD);
return ECORE_CALLBACK_RENEW;
@ -383,7 +383,7 @@ _ecore_con_info_fds_search(const Ecore_Con_FD *fd1,
}
static void
_ecore_con_info_cares_state_cb(void *data __UNUSED__,
_ecore_con_info_cares_state_cb(void *data EINA_UNUSED,
ares_socket_t fd,
int readable,
int writable)
@ -428,7 +428,7 @@ _ecore_con_info_cares_state_cb(void *data __UNUSED__,
static void
_ecore_con_info_ares_host_cb(Ecore_Con_CAres *arg,
int status,
int timeouts __UNUSED__,
int timeouts EINA_UNUSED,
struct hostent *hostent)
{
struct sockaddr *addr;
@ -590,7 +590,7 @@ on_error:
static void
_ecore_con_info_ares_nameinfo(Ecore_Con_CAres *arg,
int status,
int timeouts __UNUSED__,
int timeouts EINA_UNUSED,
char *node,
char *service)
{

View File

@ -123,7 +123,7 @@ error:
}
static Eina_Bool
_dns_fd_cb(Ecore_Con_DNS *dns, Ecore_Fd_Handler *fdh __UNUSED__)
_dns_fd_cb(Ecore_Con_DNS *dns, Ecore_Fd_Handler *fdh EINA_UNUSED)
{
if (_ecore_con_dns_check(dns) != 1) return ECORE_CALLBACK_RENEW;
if (ecore_main_fd_handler_fd_get(dns->fdh) != dns_ai_pollfd(dns->ai))

View File

@ -87,7 +87,7 @@ static void _ecore_con_info_slave_free(CB_Data *cbdata);
static Eina_Bool _ecore_con_info_data_handler(void *data,
Ecore_Fd_Handler *fd_handler);
static Eina_Bool _ecore_con_info_exit_handler(void *data,
int type __UNUSED__,
int type EINA_UNUSED,
void *event);
static int info_init = 0;
@ -440,7 +440,7 @@ _ecore_con_info_data_handler(void *data,
static Eina_Bool
_ecore_con_info_exit_handler(void *data,
int type __UNUSED__,
int type EINA_UNUSED,
void *event)
{
CB_Data *cbdata;

View File

@ -62,7 +62,7 @@ ecore_con_local_shutdown(void)
int
ecore_con_local_connect(Ecore_Con_Server *svr,
Eina_Bool (*cb_done)(void *data, Ecore_Fd_Handler *fd_handler),
void *data __UNUSED__)
void *data EINA_UNUSED)
{
#ifndef HAVE_LOCAL_SOCKETS
return 0;
@ -180,7 +180,7 @@ ecore_con_local_listen(
Ecore_Fd_Handler *
fd_handler),
void *data
__UNUSED__)
EINA_UNUSED)
{
#ifdef HAVE_LOCAL_SOCKETS
char buf[4096];

View File

@ -231,7 +231,7 @@ _ecore_con_socks_svr_init_v5(Ecore_Con_Server *svr, Ecore_Con_Socks_v5 *v5)
data = buf
static void
_ecore_con_socks_read_v4(Ecore_Con_Server *svr, Ecore_Con_Socks_v4 *v4 __UNUSED__, const unsigned char *buf, unsigned int num)
_ecore_con_socks_read_v4(Ecore_Con_Server *svr, Ecore_Con_Socks_v4 *v4 EINA_UNUSED, const unsigned char *buf, unsigned int num)
{
const unsigned char *data;
DBG("SOCKS: %d bytes", num);
@ -543,7 +543,7 @@ ecore_con_socks_svr_init(Ecore_Con_Server *svr)
}
void
ecore_con_socks_dns_cb(const char *canonname __UNUSED__, const char *ip, struct sockaddr *addr, int addrlen __UNUSED__, Ecore_Con_Server *svr)
ecore_con_socks_dns_cb(const char *canonname EINA_UNUSED, const char *ip, struct sockaddr *addr, int addrlen EINA_UNUSED, Ecore_Con_Server *svr)
{
svr->ip = eina_stringshare_add(ip);
svr->ecs_state++;

View File

@ -2048,92 +2048,92 @@ _ecore_con_ssl_shutdown_none(void)
}
static Ecore_Con_Ssl_Error
_ecore_con_ssl_server_prepare_none(Ecore_Con_Server *svr __UNUSED__,
int ssl_type __UNUSED__)
_ecore_con_ssl_server_prepare_none(Ecore_Con_Server *svr EINA_UNUSED,
int ssl_type EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NONE;
}
static Ecore_Con_Ssl_Error
_ecore_con_ssl_server_init_none(Ecore_Con_Server *svr __UNUSED__)
_ecore_con_ssl_server_init_none(Ecore_Con_Server *svr EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
}
static Eina_Bool
_ecore_con_ssl_server_cafile_add_none(Ecore_Con_Server *svr __UNUSED__,
const char *ca_file __UNUSED__)
_ecore_con_ssl_server_cafile_add_none(Ecore_Con_Server *svr EINA_UNUSED,
const char *ca_file EINA_UNUSED)
{
return EINA_FALSE;
}
static Eina_Bool
_ecore_con_ssl_server_cert_add_none(Ecore_Con_Server *svr __UNUSED__,
const char *cert_file __UNUSED__)
_ecore_con_ssl_server_cert_add_none(Ecore_Con_Server *svr EINA_UNUSED,
const char *cert_file EINA_UNUSED)
{
return EINA_FALSE;
}
static Eina_Bool
_ecore_con_ssl_server_privkey_add_none(Ecore_Con_Server *svr __UNUSED__,
const char *key_file __UNUSED__)
_ecore_con_ssl_server_privkey_add_none(Ecore_Con_Server *svr EINA_UNUSED,
const char *key_file EINA_UNUSED)
{
return EINA_FALSE;
}
static Eina_Bool
_ecore_con_ssl_server_crl_add_none(Ecore_Con_Server *svr __UNUSED__,
const char *crl_file __UNUSED__)
_ecore_con_ssl_server_crl_add_none(Ecore_Con_Server *svr EINA_UNUSED,
const char *crl_file EINA_UNUSED)
{
return EINA_FALSE;
}
static Ecore_Con_Ssl_Error
_ecore_con_ssl_server_shutdown_none(Ecore_Con_Server *svr __UNUSED__)
_ecore_con_ssl_server_shutdown_none(Ecore_Con_Server *svr EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
}
static int
_ecore_con_ssl_server_read_none(Ecore_Con_Server *svr __UNUSED__,
unsigned char *buf __UNUSED__,
int size __UNUSED__)
_ecore_con_ssl_server_read_none(Ecore_Con_Server *svr EINA_UNUSED,
unsigned char *buf EINA_UNUSED,
int size EINA_UNUSED)
{
return -1;
}
static int
_ecore_con_ssl_server_write_none(Ecore_Con_Server *svr __UNUSED__,
const unsigned char *buf __UNUSED__,
int size __UNUSED__)
_ecore_con_ssl_server_write_none(Ecore_Con_Server *svr EINA_UNUSED,
const unsigned char *buf EINA_UNUSED,
int size EINA_UNUSED)
{
return -1;
}
static Ecore_Con_Ssl_Error
_ecore_con_ssl_client_init_none(Ecore_Con_Client *cl __UNUSED__)
_ecore_con_ssl_client_init_none(Ecore_Con_Client *cl EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
}
static Ecore_Con_Ssl_Error
_ecore_con_ssl_client_shutdown_none(Ecore_Con_Client *cl __UNUSED__)
_ecore_con_ssl_client_shutdown_none(Ecore_Con_Client *cl EINA_UNUSED)
{
return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
}
static int
_ecore_con_ssl_client_read_none(Ecore_Con_Client *cl __UNUSED__,
unsigned char *buf __UNUSED__,
int size __UNUSED__)
_ecore_con_ssl_client_read_none(Ecore_Con_Client *cl EINA_UNUSED,
unsigned char *buf EINA_UNUSED,
int size EINA_UNUSED)
{
return -1;
}
static int
_ecore_con_ssl_client_write_none(Ecore_Con_Client *cl __UNUSED__,
const unsigned char *buf __UNUSED__,
int size __UNUSED__)
_ecore_con_ssl_client_write_none(Ecore_Con_Client *cl EINA_UNUSED,
const unsigned char *buf EINA_UNUSED,
int size EINA_UNUSED)
{
return -1;
}

View File

@ -1544,7 +1544,7 @@ _ecore_con_url_curl_clear(void)
}
static Eina_Bool
_ecore_con_url_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
_ecore_con_url_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Ecore_Fd_Handler *fdh;
long ms;
@ -1600,7 +1600,7 @@ _ecore_con_url_fdset(void)
}
static Eina_Bool
_ecore_con_url_timer(void *data __UNUSED__)
_ecore_con_url_timer(void *data EINA_UNUSED)
{
Ecore_Fd_Handler *fdh;
int still_running;

View File

@ -50,7 +50,7 @@ _ecore_config_ipc_ecore_string_get(char **m, char **r)
}
static char *
_ecore_config_ipc_global_prop_list(Ecore_Config_Server * srv __UNUSED__, long serial __UNUSED__)
_ecore_config_ipc_global_prop_list(Ecore_Config_Server * srv EINA_UNUSED, long serial EINA_UNUSED)
{
Ecore_Config_DB_File *db;
char **keys;
@ -232,7 +232,7 @@ _ecore_config_ipc_ecore_handle_request(Ecore_Ipc_Server * server,
/*****************************************************************************/
static Eina_Bool
_ecore_config_ipc_client_add(void *data, int type __UNUSED__, void *event)
_ecore_config_ipc_client_add(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Server **server;
Ecore_Ipc_Event_Client_Data *e;
@ -248,7 +248,7 @@ _ecore_config_ipc_client_add(void *data, int type __UNUSED__, void *event)
}
static Eina_Bool
_ecore_config_ipc_client_del(void *data, int type __UNUSED__, void *event)
_ecore_config_ipc_client_del(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Server **server;
Ecore_Ipc_Event_Client_Data *e;
@ -264,7 +264,7 @@ _ecore_config_ipc_client_del(void *data, int type __UNUSED__, void *event)
}
static Eina_Bool
_ecore_config_ipc_client_sent(void *data, int type __UNUSED__, void *event)
_ecore_config_ipc_client_sent(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Server **server;
Ecore_Ipc_Event_Client_Data *e;

View File

@ -206,7 +206,7 @@ _ecore_config_ipc_bundle_label_find(Ecore_Config_Server * srv,
}
static Eina_Bool
_ecore_config_ipc_poll(void *data __UNUSED__)
_ecore_config_ipc_poll(void *data EINA_UNUSED)
{
Ecore_Config_Server *s;

View File

@ -65,7 +65,7 @@ static DFBResult _err; // useful for DFBCHECK
/****************************************/
static void
_ecore_directfb_event_free_key_down(void *data __UNUSED__, void *ev)
_ecore_directfb_event_free_key_down(void *data EINA_UNUSED, void *ev)
{
Ecore_DirectFB_Event_Key_Down *e;
@ -83,7 +83,7 @@ _ecore_directfb_event_free_key_down(void *data __UNUSED__, void *ev)
}
static void
_ecore_directfb_event_free_key_up(void *data __UNUSED__, void *ev)
_ecore_directfb_event_free_key_up(void *data EINA_UNUSED, void *ev)
{
Ecore_DirectFB_Event_Key_Up *e;
@ -398,7 +398,7 @@ _ecore_directfb_event_handle_lost_focus(DFBWindowEvent *evt)
* window at a time */
static Eina_Bool
_ecore_directfb_input_event_fd_handler(void *data __UNUSED__,Ecore_Fd_Handler *fd_handler __UNUSED__)
_ecore_directfb_input_event_fd_handler(void *data EINA_UNUSED,Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
DFBEvent evt;
int v = 0;
@ -431,7 +431,7 @@ _ecore_directfb_input_event_fd_handler(void *data __UNUSED__,Ecore_Fd_Handler *f
}
static Eina_Bool
_ecore_directfb_window_event_fd_handler(void *data __UNUSED__,Ecore_Fd_Handler *fd_handler __UNUSED__)
_ecore_directfb_window_event_fd_handler(void *data EINA_UNUSED,Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
DFBEvent evt;
int v = 0;
@ -676,7 +676,7 @@ ecore_directfb_window_size_get(Ecore_DirectFB_Window *ecore_window, int *w, int
}
EAPI int
ecore_directfb_init(const char *name __UNUSED__)
ecore_directfb_init(const char *name EINA_UNUSED)
{
int i = 0;

View File

@ -39,7 +39,7 @@ static Ecore_Evas *ecore_evases = NULL;
static int _ecore_evas_fps_debug = 0;
static Eina_Bool
_ecore_evas_idle_enter(void *data __UNUSED__)
_ecore_evas_idle_enter(void *data EINA_UNUSED)
{
Ecore_Evas *ee;
double t1 = 0.0;
@ -208,7 +208,7 @@ ecore_evas_engine_type_supported_get(Ecore_Evas_Engine_Type engine)
}
static void
_ecore_evas_fork_cb(void *data __UNUSED__)
_ecore_evas_fork_cb(void *data EINA_UNUSED)
{
int fd;
@ -480,7 +480,7 @@ _ecore_evas_constructor_software_8_x11(int x, int y, int w, int h, const char *e
#ifdef BUILD_ECORE_EVAS_SOFTWARE_SDL
static Ecore_Evas *
_ecore_evas_constructor_sdl(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options)
_ecore_evas_constructor_sdl(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options)
{
Ecore_Evas *ee;
unsigned int fullscreen = 0, hwsurface = 0, noframe = 0, alpha = 0;
@ -501,7 +501,7 @@ _ecore_evas_constructor_sdl(int x __UNUSED__, int y __UNUSED__, int w, int h, co
#ifdef BUILD_ECORE_EVAS_OPENGL_SDL
static Ecore_Evas *
_ecore_evas_constructor_opengl_sdl(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options)
_ecore_evas_constructor_opengl_sdl(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options)
{
Ecore_Evas *ee;
unsigned int fullscreen = 0, noframe = 0;
@ -538,7 +538,7 @@ _ecore_evas_constructor_directfb(int x, int y, int w, int h, const char *extra_o
#ifdef BUILD_ECORE_EVAS_FB
static Ecore_Evas *
_ecore_evas_constructor_fb(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options)
_ecore_evas_constructor_fb(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options)
{
Ecore_Evas *ee;
char *disp_name = NULL;
@ -557,7 +557,7 @@ _ecore_evas_constructor_fb(int x __UNUSED__, int y __UNUSED__, int w, int h, con
#ifdef BUILD_ECORE_EVAS_PSL1GHT
static Ecore_Evas *
_ecore_evas_constructor_psl1ght(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options)
_ecore_evas_constructor_psl1ght(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options)
{
Ecore_Evas *ee;
char *name = NULL;
@ -641,7 +641,7 @@ _ecore_evas_constructor_opengl_glew(int x, int y, int w, int h, const char *extr
#ifdef BUILD_ECORE_EVAS_SOFTWARE_BUFFER
static Ecore_Evas *
_ecore_evas_constructor_buffer(int x __UNUSED__, int y __UNUSED__, int w, int h, const char *extra_options __UNUSED__)
_ecore_evas_constructor_buffer(int x EINA_UNUSED, int y EINA_UNUSED, int w, int h, const char *extra_options EINA_UNUSED)
{
return ecore_evas_buffer_new(w, h);
}
@ -649,7 +649,7 @@ _ecore_evas_constructor_buffer(int x __UNUSED__, int y __UNUSED__, int w, int h,
#ifdef BUILD_ECORE_EVAS_EWS
static Ecore_Evas *
_ecore_evas_constructor_ews(int x, int y, int w, int h, const char *extra_options __UNUSED__)
_ecore_evas_constructor_ews(int x, int y, int w, int h, const char *extra_options EINA_UNUSED)
{
return ecore_evas_ews_new(x, y, w, h);
}
@ -2462,7 +2462,7 @@ _ecore_evas_cb_idle_flush(void *data)
}
static Eina_Bool
_ecore_evas_async_events_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
_ecore_evas_async_events_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
evas_async_events_process();
@ -2742,38 +2742,38 @@ ecore_evas_wayland_window_get(const Ecore_Evas *ee)
}
EAPI void
ecore_evas_wayland_pointer_set(Ecore_Evas *ee __UNUSED__, int hot_x __UNUSED__, int hot_y __UNUSED__)
ecore_evas_wayland_pointer_set(Ecore_Evas *ee EINA_UNUSED, int hot_x EINA_UNUSED, int hot_y EINA_UNUSED)
{
}
#else
EAPI void
ecore_evas_wayland_resize(Ecore_Evas *ee __UNUSED__, int location __UNUSED__)
ecore_evas_wayland_resize(Ecore_Evas *ee EINA_UNUSED, int location EINA_UNUSED)
{
}
EAPI void
ecore_evas_wayland_move(Ecore_Evas *ee __UNUSED__, int x __UNUSED__, int y __UNUSED__)
ecore_evas_wayland_move(Ecore_Evas *ee EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED)
{
}
EAPI void
ecore_evas_wayland_type_set(Ecore_Evas *ee __UNUSED__, int type __UNUSED__)
ecore_evas_wayland_type_set(Ecore_Evas *ee EINA_UNUSED, int type EINA_UNUSED)
{
}
EAPI Ecore_Wl_Window *
ecore_evas_wayland_window_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_wayland_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return NULL;
}
EAPI void
ecore_evas_wayland_pointer_set(Ecore_Evas *ee __UNUSED__, int hot_x __UNUSED__, int hot_y __UNUSED__)
ecore_evas_wayland_pointer_set(Ecore_Evas *ee EINA_UNUSED, int hot_x EINA_UNUSED, int hot_y EINA_UNUSED)
{
}

View File

@ -98,7 +98,7 @@ _ecore_evas_resize(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
_ecore_evas_resize(ee, w, h);
}
@ -231,7 +231,7 @@ _ecore_evas_buffer_transfer_modifiers_locks(Evas *e, Evas *e2)
}
static void
_ecore_evas_buffer_cb_mouse_in(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_buffer_cb_mouse_in(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Evas_Event_Mouse_In *ev;
@ -243,7 +243,7 @@ _ecore_evas_buffer_cb_mouse_in(void *data, Evas *e, Evas_Object *obj __UNUSED__,
}
static void
_ecore_evas_buffer_cb_mouse_out(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_buffer_cb_mouse_out(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Out *ev;
@ -255,7 +255,7 @@ _ecore_evas_buffer_cb_mouse_out(void *data, Evas *e, Evas_Object *obj __UNUSED__
}
static void
_ecore_evas_buffer_cb_mouse_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_buffer_cb_mouse_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Down *ev;
@ -267,7 +267,7 @@ _ecore_evas_buffer_cb_mouse_down(void *data, Evas *e, Evas_Object *obj __UNUSED_
}
static void
_ecore_evas_buffer_cb_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_buffer_cb_mouse_up(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Up *ev;
@ -279,7 +279,7 @@ _ecore_evas_buffer_cb_mouse_up(void *data, Evas *e, Evas_Object *obj __UNUSED__,
}
static void
_ecore_evas_buffer_cb_mouse_move(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_buffer_cb_mouse_move(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Move *ev;
@ -295,7 +295,7 @@ _ecore_evas_buffer_cb_mouse_move(void *data, Evas *e, Evas_Object *obj __UNUSED_
}
static void
_ecore_evas_buffer_cb_mouse_wheel(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_buffer_cb_mouse_wheel(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Mouse_Wheel *ev;
@ -307,7 +307,7 @@ _ecore_evas_buffer_cb_mouse_wheel(void *data, Evas *e, Evas_Object *obj __UNUSED
}
static void
_ecore_evas_buffer_cb_multi_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_buffer_cb_multi_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Multi_Down *ev;
@ -328,7 +328,7 @@ _ecore_evas_buffer_cb_multi_down(void *data, Evas *e, Evas_Object *obj __UNUSED_
}
static void
_ecore_evas_buffer_cb_multi_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_buffer_cb_multi_up(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Multi_Up *ev;
@ -349,7 +349,7 @@ _ecore_evas_buffer_cb_multi_up(void *data, Evas *e, Evas_Object *obj __UNUSED__,
}
static void
_ecore_evas_buffer_cb_multi_move(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_buffer_cb_multi_move(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Multi_Move *ev;
@ -370,7 +370,7 @@ _ecore_evas_buffer_cb_multi_move(void *data, Evas *e, Evas_Object *obj __UNUSED_
}
static void
_ecore_evas_buffer_cb_free(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_buffer_cb_free(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -379,7 +379,7 @@ _ecore_evas_buffer_cb_free(void *data, Evas *e __UNUSED__, Evas_Object *obj __UN
}
static void
_ecore_evas_buffer_cb_key_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_buffer_cb_key_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Key_Down *ev;
@ -391,7 +391,7 @@ _ecore_evas_buffer_cb_key_down(void *data, Evas *e, Evas_Object *obj __UNUSED__,
}
static void
_ecore_evas_buffer_cb_key_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_buffer_cb_key_up(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee;
Evas_Event_Key_Up *ev;
@ -403,7 +403,7 @@ _ecore_evas_buffer_cb_key_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, v
}
static void
_ecore_evas_buffer_cb_focus_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_buffer_cb_focus_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -414,7 +414,7 @@ _ecore_evas_buffer_cb_focus_in(void *data, Evas *e __UNUSED__, Evas_Object *obj
}
static void
_ecore_evas_buffer_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_buffer_cb_focus_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -425,7 +425,7 @@ _ecore_evas_buffer_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj
}
static void
_ecore_evas_buffer_cb_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_buffer_cb_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -435,7 +435,7 @@ _ecore_evas_buffer_cb_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UN
}
static void
_ecore_evas_buffer_cb_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_buffer_cb_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -531,13 +531,13 @@ static Ecore_Evas_Engine_Func _ecore_buffer_engine_func =
#endif
static void *
_ecore_evas_buffer_pix_alloc(void *data __UNUSED__, int size)
_ecore_evas_buffer_pix_alloc(void *data EINA_UNUSED, int size)
{
return malloc(size);
}
static void
_ecore_evas_buffer_pix_free(void *data __UNUSED__, void *pix)
_ecore_evas_buffer_pix_free(void *data EINA_UNUSED, void *pix)
{
free(pix);
}

View File

@ -105,7 +105,7 @@ _ecore_evas_cocoa_match(void)
}
static int
_ecore_evas_cocoa_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_cocoa_event_got_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
@ -122,7 +122,7 @@ _ecore_evas_cocoa_event_got_focus(void *data __UNUSED__, int type __UNUSED__, vo
}
static int
_ecore_evas_cocoa_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_cocoa_event_lost_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
@ -139,7 +139,7 @@ _ecore_evas_cocoa_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, v
}
static int
_ecore_evas_cocoa_event_video_resize(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_cocoa_event_video_resize(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
/*Ecore_Cocoa_Event_Video_Resize *e;
Ecore_Evas *ee;
@ -157,7 +157,7 @@ _ecore_evas_cocoa_event_video_resize(void *data __UNUSED__, int type __UNUSED__,
}
static int
_ecore_evas_cocoa_event_video_expose(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
_ecore_evas_cocoa_event_video_expose(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
int w;
@ -175,7 +175,7 @@ _ecore_evas_cocoa_event_video_expose(void *data __UNUSED__, int type __UNUSED__,
}
static int
_ecore_evas_idle_enter(void *data __UNUSED__)
_ecore_evas_idle_enter(void *data EINA_UNUSED)
{
Ecore_Evas *ee;
double t1 = 0.;

View File

@ -75,7 +75,7 @@ _ecore_evas_directfb_match(DFBWindowID win)
}
static Eina_Bool
_ecore_evas_directfb_event_key_down(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_key_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Key_Down *e;
@ -90,7 +90,7 @@ _ecore_evas_directfb_event_key_down(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_directfb_event_key_up(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_key_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Key_Up *e;
@ -105,7 +105,7 @@ _ecore_evas_directfb_event_key_up(void *data __UNUSED__, int type __UNUSED__, vo
}
static Eina_Bool
_ecore_evas_directfb_event_motion(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_motion(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Motion *e;
@ -119,7 +119,7 @@ _ecore_evas_directfb_event_motion(void *data __UNUSED__, int type __UNUSED__, vo
}
static Eina_Bool
_ecore_evas_directfb_event_button_down(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_button_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Button_Down *e;
@ -134,7 +134,7 @@ _ecore_evas_directfb_event_button_down(void *data __UNUSED__, int type __UNUSED_
}
static Eina_Bool
_ecore_evas_directfb_event_button_up(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_button_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Button_Up *e;
@ -150,7 +150,7 @@ _ecore_evas_directfb_event_button_up(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_directfb_event_enter(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_enter(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Enter *e;
@ -165,7 +165,7 @@ _ecore_evas_directfb_event_enter(void *data __UNUSED__, int type __UNUSED__, voi
}
static Eina_Bool
_ecore_evas_directfb_event_leave(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_leave(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Leave *e;
@ -182,7 +182,7 @@ _ecore_evas_directfb_event_leave(void *data __UNUSED__, int type __UNUSED__, voi
}
static Eina_Bool
_ecore_evas_directfb_event_wheel(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_wheel(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Wheel *e;
@ -196,7 +196,7 @@ _ecore_evas_directfb_event_wheel(void *data __UNUSED__, int type __UNUSED__, voi
}
static Eina_Bool
_ecore_evas_directfb_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_got_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Got_Focus *e;
@ -210,7 +210,7 @@ _ecore_evas_directfb_event_got_focus(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_directfb_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_directfb_event_lost_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_DirectFB_Event_Lost_Focus *e;
@ -305,7 +305,7 @@ _ecore_evas_directfb_resize(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_directfb_focus_set(Ecore_Evas *ee, int on __UNUSED__)
_ecore_evas_directfb_focus_set(Ecore_Evas *ee, int on EINA_UNUSED)
{
ecore_directfb_window_focus(ee->engine.directfb.window);
}
@ -338,7 +338,7 @@ _ecore_evas_directfb_shaped_set(Ecore_Evas *ee, int shaped)
}
static void
_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -584,7 +584,7 @@ ecore_evas_directfb_new(const char *disp_name, int windowed, int x, int y, int w
}
#else
EAPI Ecore_Evas *
ecore_evas_directfb_new(const char *disp_name __UNUSED__, int windowed __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
ecore_evas_directfb_new(const char *disp_name EINA_UNUSED, int windowed EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
@ -599,7 +599,7 @@ ecore_evas_directfb_window_get(const Ecore_Evas *ee)
}
#else
EAPI Ecore_DirectFB_Window *
ecore_evas_directfb_window_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_directfb_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return NULL;
}

View File

@ -52,7 +52,7 @@ static Eina_Bool _ews_defaults_geo = EINA_TRUE;
static const char EWS_ENGINE_NAME[] = "ews";
static void
_ecore_evas_ews_pre_free(Ecore_Evas *ee __UNUSED__)
_ecore_evas_ews_pre_free(Ecore_Evas *ee EINA_UNUSED)
{
DBG("EWS backing store free'd");
_ews_children = eina_list_free(_ews_children);
@ -61,7 +61,7 @@ _ecore_evas_ews_pre_free(Ecore_Evas *ee __UNUSED__)
}
static void
_ecore_evas_ews_del_request(Ecore_Evas *ee __UNUSED__)
_ecore_evas_ews_del_request(Ecore_Evas *ee EINA_UNUSED)
{
INF("EWS backing store deletion is forbidden!");
}
@ -152,7 +152,7 @@ _ecore_evas_ews_env_setup(void)
}
static void
_ecore_evas_ews_event_free(void *data __UNUSED__, void *ev)
_ecore_evas_ews_event_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Evas *ee = ev;
_ecore_evas_unref(ee);
@ -166,7 +166,7 @@ _ecore_evas_ews_event(Ecore_Evas *ee, int event)
}
static void
_ecore_evas_ews_event_free_del(void *data __UNUSED__, void *ev __UNUSED__)
_ecore_evas_ews_event_free_del(void *data EINA_UNUSED, void *ev EINA_UNUSED)
{
_ecore_evas_ews_shutdown();
}
@ -269,7 +269,7 @@ _ecore_evas_ews_move_resize(Ecore_Evas *ee, int x, int y, int w, int h)
}
static void
_ecore_evas_ews_rotation_set(Ecore_Evas *ee, int rot, int resize __UNUSED__)
_ecore_evas_ews_rotation_set(Ecore_Evas *ee, int rot, int resize EINA_UNUSED)
{
if (ee->rotation == rot) return;
ee->rotation = rot;
@ -399,7 +399,7 @@ _ecore_evas_ews_size_step_set(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_ews_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_ews_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ee->prop.cursor.object = NULL;
@ -630,7 +630,7 @@ _ecore_evas_ews_render(Ecore_Evas *ee)
}
static void
_ecore_evas_ews_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h)
_ecore_evas_ews_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
{
ecore_evas_geometry_get(_ews_ee, x, y, w, h);
}
@ -833,7 +833,7 @@ _ecore_evas_ews_modifiers_apply(Ecore_Evas *ee, const Evas_Modifier *modifier)
}
static void
_ecore_evas_ews_cb_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_ews_cb_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_In *ev = event_info;
@ -847,7 +847,7 @@ _ecore_evas_ews_cb_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __U
}
static void
_ecore_evas_ews_cb_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_ews_cb_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Out *ev = event_info;
@ -863,7 +863,7 @@ _ecore_evas_ews_cb_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __
}
static void
_ecore_evas_ews_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_ews_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Down *ev = event_info;
@ -872,7 +872,7 @@ _ecore_evas_ews_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj _
}
static void
_ecore_evas_ews_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_ews_cb_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Up *ev = event_info;
@ -881,7 +881,7 @@ _ecore_evas_ews_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __U
}
static void
_ecore_evas_ews_cb_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_ews_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Move *ev = event_info;
@ -893,7 +893,7 @@ _ecore_evas_ews_cb_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj _
}
static void
_ecore_evas_ews_cb_mouse_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_ews_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Wheel *ev = event_info;
@ -902,7 +902,7 @@ _ecore_evas_ews_cb_mouse_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj
}
static void
_ecore_evas_ews_cb_multi_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_ews_cb_multi_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Down *ev = event_info;
@ -921,7 +921,7 @@ _ecore_evas_ews_cb_multi_down(void *data, Evas *e __UNUSED__, Evas_Object *obj _
}
static void
_ecore_evas_ews_cb_multi_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_ews_cb_multi_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Up *ev = event_info;
@ -940,7 +940,7 @@ _ecore_evas_ews_cb_multi_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __U
}
static void
_ecore_evas_ews_cb_multi_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_ews_cb_multi_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Move *ev = event_info;
@ -959,14 +959,14 @@ _ecore_evas_ews_cb_multi_move(void *data, Evas *e __UNUSED__, Evas_Object *obj _
}
static void
_ecore_evas_ews_cb_free(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_ews_cb_free(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee->driver) _ecore_evas_free(ee);
}
static void
_ecore_evas_ews_cb_key_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_ews_cb_key_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Key_Down *ev = event_info;
@ -1011,7 +1011,7 @@ _ecore_evas_ews_cb_key_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, vo
}
static void
_ecore_evas_ews_cb_key_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_ews_cb_key_up(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Key_Up *ev = event_info;
@ -1056,14 +1056,14 @@ _ecore_evas_ews_cb_key_up(void *data, Evas *e, Evas_Object *obj __UNUSED__, void
}
static void
_ecore_evas_ews_cb_focus_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_ews_cb_focus_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_focus_set(ee, EINA_TRUE);
}
static void
_ecore_evas_ews_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_ews_cb_focus_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee->deleted) return;
@ -1071,14 +1071,14 @@ _ecore_evas_ews_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __
}
static void
_ecore_evas_ews_cb_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_ews_cb_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_show(ee);
}
static void
_ecore_evas_ews_cb_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_ews_cb_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee->deleted) return;
@ -1381,7 +1381,7 @@ ecore_evas_ews_background_get(void)
#ifdef BUILD_ECORE_EVAS_EWS
static void
_ecore_evas_ews_background_free(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_ews_background_free(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event_info EINA_UNUSED)
{
_ews_bg = NULL;
ecore_evas_ews_background_set(NULL);

View File

@ -389,7 +389,7 @@ _ecore_evas_extn_shutdown(void)
}
static void
_ecore_evas_extn_event_free(void *data, void *ev __UNUSED__)
_ecore_evas_extn_event_free(void *data, void *ev EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee->engine.buffer.image)
@ -461,21 +461,21 @@ _ecore_evas_socket_unlock(Ecore_Evas *ee)
}
static void
_ecore_evas_extn_plug_targer_render_pre(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_plug_targer_render_pre(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee) _ecore_evas_socket_lock(ee);
}
static void
_ecore_evas_extn_plug_targer_render_post(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_plug_targer_render_post(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee) _ecore_evas_socket_unlock(ee);
}
static void
_ecore_evas_extn_plug_image_obj_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_plug_image_obj_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
if (ee) ecore_evas_free(ee);
@ -621,7 +621,7 @@ _ecore_evas_resize(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
_ecore_evas_resize(ee, w, h);
}
@ -676,7 +676,7 @@ _ecore_evas_modifiers_locks_mask_set(Evas *e, int mask)
}
static void
_ecore_evas_extn_cb_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_cb_mouse_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_In *ev = event_info;
@ -696,7 +696,7 @@ _ecore_evas_extn_cb_mouse_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __
}
static void
_ecore_evas_extn_cb_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_cb_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Out *ev = event_info;
@ -716,7 +716,7 @@ _ecore_evas_extn_cb_mouse_out(void *data, Evas *e __UNUSED__, Evas_Object *obj _
}
static void
_ecore_evas_extn_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Down *ev = event_info;
@ -754,7 +754,7 @@ _ecore_evas_extn_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj
}
static void
_ecore_evas_extn_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Up *ev = event_info;
@ -776,7 +776,7 @@ _ecore_evas_extn_cb_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __
}
static void
_ecore_evas_extn_cb_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Move *ev = event_info;
@ -802,7 +802,7 @@ _ecore_evas_extn_cb_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj
}
static void
_ecore_evas_extn_cb_mouse_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_mouse_wheel(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Mouse_Wheel *ev = event_info;
@ -824,7 +824,7 @@ _ecore_evas_extn_cb_mouse_wheel(void *data, Evas *e __UNUSED__, Evas_Object *obj
}
static void
_ecore_evas_extn_cb_multi_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_multi_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Down *ev = event_info;
@ -860,7 +860,7 @@ _ecore_evas_extn_cb_multi_down(void *data, Evas *e __UNUSED__, Evas_Object *obj
static void
_ecore_evas_extn_cb_multi_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_multi_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Up *ev = event_info;
@ -895,7 +895,7 @@ _ecore_evas_extn_cb_multi_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __
}
static void
_ecore_evas_extn_cb_multi_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_multi_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Multi_Move *ev = event_info;
@ -929,7 +929,7 @@ _ecore_evas_extn_cb_multi_move(void *data, Evas *e __UNUSED__, Evas_Object *obj
}
static void
_ecore_evas_extn_cb_free(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_cb_free(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -938,7 +938,7 @@ _ecore_evas_extn_cb_free(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
}
static void
_ecore_evas_extn_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Key_Down *ev = event_info;
@ -994,7 +994,7 @@ _ecore_evas_extn_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __
}
static void
_ecore_evas_extn_cb_key_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_key_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Key_Up *ev = event_info;
@ -1050,7 +1050,7 @@ _ecore_evas_extn_cb_key_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UN
}
static void
_ecore_evas_extn_cb_hold(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
_ecore_evas_extn_cb_hold(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = data;
Evas_Event_Hold *ev = event_info;
@ -1070,7 +1070,7 @@ _ecore_evas_extn_cb_hold(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
}
static void
_ecore_evas_extn_cb_focus_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_cb_focus_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Extn *extn;
@ -1084,7 +1084,7 @@ _ecore_evas_extn_cb_focus_in(void *data, Evas *e __UNUSED__, Evas_Object *obj __
}
static void
_ecore_evas_extn_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_cb_focus_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Extn *extn;
@ -1098,7 +1098,7 @@ _ecore_evas_extn_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj _
}
static void
_ecore_evas_extn_cb_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_cb_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Extn *extn;
@ -1112,7 +1112,7 @@ _ecore_evas_extn_cb_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
}
static void
_ecore_evas_extn_cb_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_extn_cb_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
Extn *extn;
@ -1187,7 +1187,7 @@ static const Ecore_Evas_Engine_Func _ecore_extn_plug_engine_func =
};
static Eina_Bool
_ipc_server_add(void *data, int type __UNUSED__, void *event)
_ipc_server_add(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Server_Add *e = event;
Ecore_Evas *ee = data;
@ -1204,7 +1204,7 @@ _ipc_server_add(void *data, int type __UNUSED__, void *event)
}
static Eina_Bool
_ipc_server_del(void *data, int type __UNUSED__, void *event)
_ipc_server_del(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Server_Del *e = event;
Ecore_Evas *ee = data;
@ -1231,7 +1231,7 @@ _ipc_server_del(void *data, int type __UNUSED__, void *event)
}
static Eina_Bool
_ipc_server_data(void *data, int type __UNUSED__, void *event)
_ipc_server_data(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Server_Data *e = event;
Ecore_Evas *ee = data;
@ -1641,7 +1641,7 @@ _ecore_evas_socket_resize(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_socket_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
_ecore_evas_socket_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
_ecore_evas_socket_resize(ee, w, h);
}
@ -1698,7 +1698,7 @@ _ecore_evas_extn_socket_render(Ecore_Evas *ee)
}
static Eina_Bool
_ipc_client_add(void *data, int type __UNUSED__, void *event)
_ipc_client_add(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Client_Add *e = event;
Ecore_Evas *ee = data;
@ -1733,7 +1733,7 @@ _ipc_client_add(void *data, int type __UNUSED__, void *event)
}
static Eina_Bool
_ipc_client_del(void *data, int type __UNUSED__, void *event)
_ipc_client_del(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Client_Del *e = event;
Ecore_Evas *ee = data;
@ -1749,7 +1749,7 @@ _ipc_client_del(void *data, int type __UNUSED__, void *event)
}
static Eina_Bool
_ipc_client_data(void *data, int type __UNUSED__, void *event)
_ipc_client_data(void *data, int type EINA_UNUSED, void *event)
{
Ecore_Ipc_Event_Client_Data *e = event;
Ecore_Evas *ee = data;

View File

@ -62,7 +62,7 @@ _ecore_evas_fb_match(void)
}
static void
_ecore_evas_fb_lose(void *data __UNUSED__)
_ecore_evas_fb_lose(void *data EINA_UNUSED)
{
Eina_List *ll;
Ecore_Fb_Input_Device *dev;
@ -74,7 +74,7 @@ _ecore_evas_fb_lose(void *data __UNUSED__)
}
static void
_ecore_evas_fb_gain(void *data __UNUSED__)
_ecore_evas_fb_gain(void *data EINA_UNUSED)
{
Ecore_Evas *ee;
Eina_List *ll;
@ -96,7 +96,7 @@ _ecore_evas_fb_gain(void *data __UNUSED__)
}
static Eina_Bool
_ecore_evas_event_mouse_button_down(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_event_mouse_button_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Event_Mouse_Button *e;
@ -109,7 +109,7 @@ _ecore_evas_event_mouse_button_down(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_event_mouse_button_up(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_event_mouse_button_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Event_Mouse_Button *e;
@ -122,7 +122,7 @@ _ecore_evas_event_mouse_button_up(void *data __UNUSED__, int type __UNUSED__, vo
}
static Eina_Bool
_ecore_evas_event_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_event_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Event_Mouse_Move *e;
@ -135,7 +135,7 @@ _ecore_evas_event_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *e
}
static Eina_Bool
_ecore_evas_event_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_event_mouse_wheel(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Event_Mouse_Wheel *e;
@ -285,7 +285,7 @@ _ecore_evas_resize(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
ee->req.w = w;
ee->req.h = h;
@ -308,7 +308,7 @@ _ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int
}
static void
_ecore_evas_rotation_set(Ecore_Evas *ee, int rotation, int resize __UNUSED__)
_ecore_evas_rotation_set(Ecore_Evas *ee, int rotation, int resize EINA_UNUSED)
{
Evas_Engine_Info_FB *einfo;
int rot_dif;
@ -389,7 +389,7 @@ _ecore_evas_hide(Ecore_Evas *ee)
}
static void
_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -671,7 +671,7 @@ ecore_evas_fb_new(const char *disp_name, int rotation, int w, int h)
}
#else
EAPI Ecore_Evas *
ecore_evas_fb_new(const char *disp_name __UNUSED__, int rotation __UNUSED__, int w __UNUSED__, int h __UNUSED__)
ecore_evas_fb_new(const char *disp_name EINA_UNUSED, int rotation EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}

View File

@ -37,7 +37,7 @@ _ecore_evas_psl1ght_match(void)
}
static Eina_Bool
_ecore_evas_psl1ght_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
_ecore_evas_psl1ght_event_got_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
@ -53,7 +53,7 @@ _ecore_evas_psl1ght_event_got_focus(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_psl1ght_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
_ecore_evas_psl1ght_event_lost_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
@ -69,7 +69,7 @@ _ecore_evas_psl1ght_event_lost_focus(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_psl1ght_event_video_expose(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
_ecore_evas_psl1ght_event_video_expose(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
int w;
@ -85,7 +85,7 @@ _ecore_evas_psl1ght_event_video_expose(void *data __UNUSED__, int type __UNUSED_
}
static Eina_Bool
_ecore_evas_psl1ght_event_key_modifiers(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_psl1ght_event_key_modifiers(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Psl1ght_Event_Key_Modifiers *e = event;
@ -99,7 +99,7 @@ _ecore_evas_psl1ght_event_key_modifiers(void *data __UNUSED__, int type __UNUSED
}
static Eina_Bool
_ecore_evas_psl1ght_event_quit (void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
_ecore_evas_psl1ght_event_quit (void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
@ -157,14 +157,14 @@ _ecore_evas_psl1ght_render(Ecore_Evas *ee)
}
static Eina_Bool
_ecore_evas_psl1ght_event(void *data __UNUSED__)
_ecore_evas_psl1ght_event(void *data EINA_UNUSED)
{
ecore_psl1ght_poll_events();
return ECORE_CALLBACK_RENEW;
}
static int
_ecore_evas_psl1ght_init(int w __UNUSED__, int h __UNUSED__)
_ecore_evas_psl1ght_init(int w EINA_UNUSED, int h EINA_UNUSED)
{
_ecore_evas_init_count++;
if (_ecore_evas_init_count > 1) return _ecore_evas_init_count;
@ -283,7 +283,7 @@ _ecore_evas_resize(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
_ecore_evas_resize (ee, w, h);
}
@ -298,7 +298,7 @@ _ecore_evas_show(Ecore_Evas *ee)
}
static void
_ecore_evas_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h)
_ecore_evas_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
{
if (x) *x = 0;
if (y) *y = 0;
@ -306,7 +306,7 @@ _ecore_evas_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y,
}
static void
_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -506,7 +506,7 @@ ecore_evas_psl1ght_new(const char *name, int w, int h)
#else /* BUILD_ECORE_EVAS_PSL1GHT */
EAPI Ecore_Evas *
ecore_evas_psl1ght_new(const char *name __UNUSED__, int w __UNUSED__, int h __UNUSED__)
ecore_evas_psl1ght_new(const char *name EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
ERR("OUTCH !");
return NULL;

View File

@ -49,14 +49,14 @@ _ecore_evas_sdl_match(void)
}
static void *
_ecore_evas_sdl_switch_buffer(void *data, void *dest __UNUSED__)
_ecore_evas_sdl_switch_buffer(void *data, void *dest EINA_UNUSED)
{
SDL_Flip(data);
return ((SDL_Surface*)data)->pixels;
}
static Eina_Bool
_ecore_evas_sdl_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
_ecore_evas_sdl_event_got_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
@ -71,7 +71,7 @@ _ecore_evas_sdl_event_got_focus(void *data __UNUSED__, int type __UNUSED__, void
}
static Eina_Bool
_ecore_evas_sdl_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
_ecore_evas_sdl_event_lost_focus(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
@ -86,7 +86,7 @@ _ecore_evas_sdl_event_lost_focus(void *data __UNUSED__, int type __UNUSED__, voi
}
static Eina_Bool
_ecore_evas_sdl_event_video_resize(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_sdl_event_video_resize(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Sdl_Event_Video_Resize *e;
Ecore_Evas *ee;
@ -143,7 +143,7 @@ _ecore_evas_sdl_event_video_resize(void *data __UNUSED__, int type __UNUSED__, v
}
static Eina_Bool
_ecore_evas_sdl_event_video_expose(void *data __UNUSED__, int type __UNUSED__, void *event __UNUSED__)
_ecore_evas_sdl_event_video_expose(void *data EINA_UNUSED, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Ecore_Evas *ee;
int w;
@ -202,14 +202,14 @@ _ecore_evas_sdl_render(Ecore_Evas *ee)
}
static Eina_Bool
_ecore_evas_sdl_event(void *data __UNUSED__)
_ecore_evas_sdl_event(void *data EINA_UNUSED)
{
ecore_sdl_feed_events();
return ECORE_CALLBACK_RENEW;
}
static int
_ecore_evas_sdl_init(int w __UNUSED__, int h __UNUSED__)
_ecore_evas_sdl_init(int w EINA_UNUSED, int h EINA_UNUSED)
{
_ecore_evas_init_count++;
if (_ecore_evas_init_count > 1) return _ecore_evas_init_count;
@ -321,7 +321,7 @@ _ecore_evas_resize(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_move_resize(Ecore_Evas *ee, int x __UNUSED__, int y __UNUSED__, int w, int h)
_ecore_evas_move_resize(Ecore_Evas *ee, int x EINA_UNUSED, int y EINA_UNUSED, int w, int h)
{
if ((w == ee->w) && (h == ee->h)) return;
ee->w = w;
@ -343,7 +343,7 @@ _ecore_evas_show(Ecore_Evas *ee)
}
static void
_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -618,7 +618,7 @@ ecore_evas_sdl_new(const char* name, int w, int h, int fullscreen, int hwsurface
}
#else
EAPI Ecore_Evas*
ecore_evas_sdl_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int hwsurface __UNUSED__, int noframe __UNUSED__, int alpha __UNUSED__)
ecore_evas_sdl_new(const char* name EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, int fullscreen EINA_UNUSED, int hwsurface EINA_UNUSED, int noframe EINA_UNUSED, int alpha EINA_UNUSED)
{
ERR("OUTCH !");
return NULL;
@ -626,7 +626,7 @@ ecore_evas_sdl_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED
#endif
EAPI Ecore_Evas*
ecore_evas_sdl16_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int hwsurface __UNUSED__, int noframe __UNUSED__, int alpha __UNUSED__)
ecore_evas_sdl16_new(const char* name EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, int fullscreen EINA_UNUSED, int hwsurface EINA_UNUSED, int noframe EINA_UNUSED, int alpha EINA_UNUSED)
{
ERR("OUTCH !");
return NULL;
@ -648,7 +648,7 @@ ecore_evas_gl_sdl_new(const char* name, int w, int h, int fullscreen, int nofram
}
#else
EAPI Ecore_Evas*
ecore_evas_gl_sdl_new(const char* name __UNUSED__, int w __UNUSED__, int h __UNUSED__, int fullscreen __UNUSED__, int noframe __UNUSED__)
ecore_evas_gl_sdl_new(const char* name EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, int fullscreen EINA_UNUSED, int noframe EINA_UNUSED)
{
ERR("OUTCH !");
return NULL;

View File

@ -67,33 +67,33 @@ _ecore_evas_obj_intercept_move(void *data, Evas_Object *obj, Evas_Coord x, Evas_
}
static void
_ecore_evas_obj_intercept_raise(void *data, Evas_Object *obj __UNUSED__)
_ecore_evas_obj_intercept_raise(void *data, Evas_Object *obj EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_raise(ee);
}
static void
_ecore_evas_obj_intercept_lower(void *data, Evas_Object *obj __UNUSED__)
_ecore_evas_obj_intercept_lower(void *data, Evas_Object *obj EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_lower(ee);
}
static void
_ecore_evas_obj_intercept_stack_above(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *above __UNUSED__)
_ecore_evas_obj_intercept_stack_above(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *above EINA_UNUSED)
{
INF("TODO: %s", __FUNCTION__);
}
static void
_ecore_evas_obj_intercept_stack_below(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *below __UNUSED__)
_ecore_evas_obj_intercept_stack_below(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *below EINA_UNUSED)
{
INF("TODO: %s", __FUNCTION__);
}
static void
_ecore_evas_obj_intercept_layer_set(void *data, Evas_Object *obj __UNUSED__, int l)
_ecore_evas_obj_intercept_layer_set(void *data, Evas_Object *obj EINA_UNUSED, int l)
{
Ecore_Evas *ee = data;
ecore_evas_layer_set(ee, l);
@ -102,21 +102,21 @@ _ecore_evas_obj_intercept_layer_set(void *data, Evas_Object *obj __UNUSED__, int
/* Event Callbacks */
static void
_ecore_evas_obj_callback_show(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_obj_callback_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_show(ee);
}
static void
_ecore_evas_obj_callback_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_obj_callback_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_hide(ee);
}
static void
_ecore_evas_obj_callback_resize(void *data, Evas *e, Evas_Object *obj, void *event_info __UNUSED__)
_ecore_evas_obj_callback_resize(void *data, Evas *e, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Coord ow, oh, fw, fh;
@ -129,7 +129,7 @@ _ecore_evas_obj_callback_resize(void *data, Evas *e, Evas_Object *obj, void *eve
}
static void
_ecore_evas_obj_callback_changed_size_hints(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
_ecore_evas_obj_callback_changed_size_hints(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Coord w, h;
@ -144,7 +144,7 @@ _ecore_evas_obj_callback_changed_size_hints(void *data, Evas *e __UNUSED__, Evas
}
static void
_ecore_evas_obj_callback_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
_ecore_evas_obj_callback_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
_ecore_evas_object_dissociate(ee, obj);
@ -152,7 +152,7 @@ _ecore_evas_obj_callback_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, v
}
static void
_ecore_evas_obj_callback_del_dissociate(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
_ecore_evas_obj_callback_del_dissociate(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
_ecore_evas_object_dissociate(ee, obj);
@ -197,7 +197,7 @@ _ecore_evas_pre_free(Ecore_Evas *ee)
}
static int
_ecore_evas_object_evas_check(const char *function __UNUSED__, const Ecore_Evas *ee, const Evas_Object *obj)
_ecore_evas_object_evas_check(const char *function EINA_UNUSED, const Ecore_Evas *ee, const Evas_Object *obj)
{
const char *name, *type;
Evas *e;
@ -420,7 +420,7 @@ _ecore_evas_object_dissociate(Ecore_Evas *ee, Evas_Object *obj)
* @return The function always return 1.
*/
unsigned char
ecore_getopt_callback_ecore_evas_list_engines(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc __UNUSED__, const char *str __UNUSED__, void *data, Ecore_Getopt_Value *storage)
ecore_getopt_callback_ecore_evas_list_engines(const Ecore_Getopt *parser EINA_UNUSED, const Ecore_Getopt_Desc *desc EINA_UNUSED, const char *str EINA_UNUSED, void *data, Ecore_Getopt_Value *storage)
{
Eina_List *lst, *n;
const char *engine;

View File

@ -32,7 +32,7 @@ static int _ecore_evas_wl_init_count = 0;
static Ecore_Event_Handler *_ecore_evas_wl_event_hdls[5];
static Eina_Bool
_ecore_evas_wl_common_cb_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_wl_common_cb_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Mouse_In *ev;
@ -54,7 +54,7 @@ _ecore_evas_wl_common_cb_mouse_in(void *data __UNUSED__, int type __UNUSED__, vo
}
static Eina_Bool
_ecore_evas_wl_common_cb_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_wl_common_cb_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Mouse_Out *ev;
@ -77,7 +77,7 @@ _ecore_evas_wl_common_cb_mouse_out(void *data __UNUSED__, int type __UNUSED__, v
}
static Eina_Bool
_ecore_evas_wl_common_cb_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_wl_common_cb_focus_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Focus_In *ev;
@ -95,7 +95,7 @@ _ecore_evas_wl_common_cb_focus_in(void *data __UNUSED__, int type __UNUSED__, vo
}
static Eina_Bool
_ecore_evas_wl_common_cb_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_wl_common_cb_focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Focus_In *ev;
@ -113,7 +113,7 @@ _ecore_evas_wl_common_cb_focus_out(void *data __UNUSED__, int type __UNUSED__, v
}
static Eina_Bool
_ecore_evas_wl_common_cb_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Wl_Event_Window_Configure *ev;
@ -581,7 +581,7 @@ _ecore_evas_wl_common_size_step_set(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -760,7 +760,7 @@ _ecore_evas_wl_common_render(Ecore_Evas *ee)
}
void
_ecore_evas_wl_common_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h)
_ecore_evas_wl_common_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
@ -770,7 +770,7 @@ _ecore_evas_wl_common_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *
}
void
_ecore_evas_wl_common_screen_dpi_get(const Ecore_Evas *ee __UNUSED__, int *xdpi, int *ydpi)
_ecore_evas_wl_common_screen_dpi_get(const Ecore_Evas *ee EINA_UNUSED, int *xdpi, int *ydpi)
{
int dpi = 0;

View File

@ -427,7 +427,7 @@ _ecore_evas_wayland_egl_resize(Ecore_Evas *ee, int location)
}
#else
EAPI Ecore_Evas *
ecore_evas_wayland_egl_new(const char *disp_name __UNUSED__, unsigned int parent __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, Eina_Bool frame __UNUSED__)
ecore_evas_wayland_egl_new(const char *disp_name EINA_UNUSED, unsigned int parent EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, Eina_Bool frame EINA_UNUSED)
{
return NULL;
}

View File

@ -487,7 +487,7 @@ _ecore_evas_wl_transparent_set(Ecore_Evas *ee, int transparent)
}
static void
_ecore_evas_wl_frame_complete(void *data, struct wl_callback *callback, uint32_t time __UNUSED__)
_ecore_evas_wl_frame_complete(void *data, struct wl_callback *callback, uint32_t time EINA_UNUSED)
{
Ecore_Evas *ee = data;
Ecore_Wl_Window *win = NULL;
@ -649,7 +649,7 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
}
#else
EAPI Ecore_Evas *
ecore_evas_wayland_shm_new(const char *disp_name __UNUSED__, unsigned int parent __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, Eina_Bool frame __UNUSED__)
ecore_evas_wayland_shm_new(const char *disp_name EINA_UNUSED, unsigned int parent EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, Eina_Bool frame EINA_UNUSED)
{
return NULL;
}

View File

@ -25,25 +25,25 @@ static int _ecore_evas_init_count = 0;
static Ecore_Event_Handler *ecore_evas_event_handlers[ECORE_EVAS_EVENT_COUNT];
static Eina_Bool _ecore_evas_win32_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
static Eina_Bool _ecore_evas_win32_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
static Eina_Bool _ecore_evas_win32_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_window_focus_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
static Eina_Bool _ecore_evas_win32_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_window_focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
static Eina_Bool _ecore_evas_win32_event_window_damage(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_window_damage(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
static Eina_Bool _ecore_evas_win32_event_window_destroy(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_window_destroy(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
static Eina_Bool _ecore_evas_win32_event_window_show(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_window_show(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
static Eina_Bool _ecore_evas_win32_event_window_hide(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_window_hide(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
static Eina_Bool _ecore_evas_win32_event_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_window_configure(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
static Eina_Bool _ecore_evas_win32_event_window_delete_request(void *data __UNUSED__, int type __UNUSED__, void *event);
static Eina_Bool _ecore_evas_win32_event_window_delete_request(void *data EINA_UNUSED, int type EINA_UNUSED, void *event);
/* Private functions */
@ -132,7 +132,7 @@ _ecore_evas_win32_shutdown(void)
}
static Eina_Bool
_ecore_evas_win32_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Mouse_In *e;
@ -155,7 +155,7 @@ _ecore_evas_win32_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, voi
}
static Eina_Bool
_ecore_evas_win32_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Mouse_Out *e;
@ -179,7 +179,7 @@ _ecore_evas_win32_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, vo
}
static Eina_Bool
_ecore_evas_win32_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_window_focus_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Focus_In *e;
@ -196,7 +196,7 @@ _ecore_evas_win32_event_window_focus_in(void *data __UNUSED__, int type __UNUSED
}
static Eina_Bool
_ecore_evas_win32_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_window_focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Focus_Out *e;
@ -213,7 +213,7 @@ _ecore_evas_win32_event_window_focus_out(void *data __UNUSED__, int type __UNUSE
}
static Eina_Bool
_ecore_evas_win32_event_window_damage(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_window_damage(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Damage *e;
@ -265,7 +265,7 @@ _ecore_evas_win32_event_window_damage(void *data __UNUSED__, int type __UNUSED__
}
static Eina_Bool
_ecore_evas_win32_event_window_destroy(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_window_destroy(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Destroy *e;
@ -283,7 +283,7 @@ _ecore_evas_win32_event_window_destroy(void *data __UNUSED__, int type __UNUSED_
}
static Eina_Bool
_ecore_evas_win32_event_window_show(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_window_show(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Show *e;
@ -302,7 +302,7 @@ _ecore_evas_win32_event_window_show(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_win32_event_window_hide(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_window_hide(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Hide *e;
@ -321,7 +321,7 @@ _ecore_evas_win32_event_window_hide(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_win32_event_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_window_configure(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Configure *e;
@ -390,7 +390,7 @@ _ecore_evas_win32_event_window_configure(void *data __UNUSED__, int type __UNUSE
}
static Eina_Bool
_ecore_evas_win32_event_window_delete_request(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_win32_event_window_delete_request(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_Win32_Event_Window_Delete_Request *e;
@ -820,7 +820,7 @@ _ecore_evas_win32_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int layer, int ho
}
static void
_ecore_evas_win32_focus_set(Ecore_Evas *ee, int on __UNUSED__)
_ecore_evas_win32_focus_set(Ecore_Evas *ee, int on EINA_UNUSED)
{
ecore_win32_window_focus((struct _Ecore_Win32_Window *)ee->prop.window);
}
@ -1388,11 +1388,11 @@ ecore_evas_software_gdi_new(Ecore_Win32_Window *parent,
#else
EAPI Ecore_Evas *
ecore_evas_software_gdi_new(Ecore_Win32_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_software_gdi_new(Ecore_Win32_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
@ -1419,11 +1419,11 @@ ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent,
#else
EAPI Ecore_Evas *
ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
@ -1432,11 +1432,11 @@ ecore_evas_software_ddraw_new(Ecore_Win32_Window *parent __UNUSED__,
EAPI Ecore_Evas *
ecore_evas_software_16_ddraw_new(Ecore_Win32_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_software_16_ddraw_new(Ecore_Win32_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
@ -1461,11 +1461,11 @@ ecore_evas_direct3d_new(Ecore_Win32_Window *parent,
#else
EAPI Ecore_Evas *
ecore_evas_direct3d_new(Ecore_Win32_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_direct3d_new(Ecore_Win32_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
@ -1493,11 +1493,11 @@ ecore_evas_gl_glew_new(Ecore_Win32_Window *parent,
#else
EAPI Ecore_Evas *
ecore_evas_gl_glew_new(Ecore_Win32_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_gl_glew_new(Ecore_Win32_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
@ -1516,7 +1516,7 @@ ecore_evas_win32_window_get(const Ecore_Evas *ee)
#else
EAPI Ecore_Win32_Window *
ecore_evas_win32_window_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_win32_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return NULL;
}

View File

@ -11,57 +11,57 @@
#include "Ecore_Evas.h"
EAPI Ecore_Evas *
ecore_evas_software_wince_new(Ecore_WinCE_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_software_wince_new(Ecore_WinCE_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
ecore_evas_software_wince_fb_new(Ecore_WinCE_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_software_wince_fb_new(Ecore_WinCE_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
ecore_evas_software_wince_gapi_new(Ecore_WinCE_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_software_wince_gapi_new(Ecore_WinCE_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
ecore_evas_software_wince_ddraw_new(Ecore_WinCE_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_software_wince_ddraw_new(Ecore_WinCE_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
ecore_evas_software_wince_gdi_new(Ecore_WinCE_Window *parent __UNUSED__,
int x __UNUSED__,
int y __UNUSED__,
int width __UNUSED__,
int height __UNUSED__)
ecore_evas_software_wince_gdi_new(Ecore_WinCE_Window *parent EINA_UNUSED,
int x EINA_UNUSED,
int y EINA_UNUSED,
int width EINA_UNUSED,
int height EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_WinCE_Window *
ecore_evas_software_wince_window_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_software_wince_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return NULL;
}

View File

@ -476,7 +476,7 @@ _ecore_evas_x_resize_shape(Ecore_Evas *ee)
/* TODO: we need to make this work for all the states, not just sticky */
static Eina_Bool
_ecore_evas_x_event_property_change(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_property_change(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Property *e;
@ -687,7 +687,7 @@ _ecore_evas_x_event_property_change(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_x_event_visibility_change(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_visibility_change(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Visibility_Change *e;
@ -709,7 +709,7 @@ _ecore_evas_x_event_visibility_change(void *data __UNUSED__, int type __UNUSED__
}
static Eina_Bool
_ecore_evas_x_event_client_message(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_client_message(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Client_Message *e;
@ -761,7 +761,7 @@ _ecore_evas_x_event_client_message(void *data __UNUSED__, int type __UNUSED__, v
}
static Eina_Bool
_ecore_evas_x_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Mouse_In *e;
@ -816,7 +816,7 @@ _ecore_evas_x_event_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *e
}
static Eina_Bool
_ecore_evas_x_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Mouse_Out *e;
@ -881,7 +881,7 @@ _ecore_evas_x_event_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *
}
static Eina_Bool
_ecore_evas_x_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_window_focus_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Focus_In *e;
@ -899,7 +899,7 @@ _ecore_evas_x_event_window_focus_in(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_x_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_window_focus_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Focus_Out *e;
@ -920,7 +920,7 @@ _ecore_evas_x_event_window_focus_out(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_x_event_window_damage(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_window_damage(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Damage *e;
@ -980,7 +980,7 @@ _ecore_evas_x_event_window_damage(void *data __UNUSED__, int type __UNUSED__, vo
}
static Eina_Bool
_ecore_evas_x_event_window_destroy(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_window_destroy(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Destroy *e;
@ -996,7 +996,7 @@ _ecore_evas_x_event_window_destroy(void *data __UNUSED__, int type __UNUSED__, v
}
static Eina_Bool
_ecore_evas_x_event_window_configure(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_window_configure(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Configure *e;
@ -1060,7 +1060,7 @@ _ecore_evas_x_event_window_configure(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_evas_x_event_window_delete_request(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_window_delete_request(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Delete_Request *e;
@ -1074,7 +1074,7 @@ _ecore_evas_x_event_window_delete_request(void *data __UNUSED__, int type __UNUS
}
static Eina_Bool
_ecore_evas_x_event_window_show(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_window_show(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Show *e;
@ -1115,7 +1115,7 @@ _ecore_evas_x_event_window_show(void *data __UNUSED__, int type __UNUSED__, void
}
static Eina_Bool
_ecore_evas_x_event_window_hide(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_evas_x_event_window_hide(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Evas *ee;
Ecore_X_Event_Window_Hide *e;
@ -1656,7 +1656,7 @@ _ecore_evas_x_rotation_set_internal(Ecore_Evas *ee, int rotation, int resize,
#define _USE_WIN_ROT_EFFECT 1
#if _USE_WIN_ROT_EFFECT
static void _ecore_evas_x_flush_pre(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__);
static void _ecore_evas_x_flush_pre(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED);
typedef struct _Ecore_Evas_X_Rotation_Effect Ecore_Evas_X_Rotation_Effect;
struct _Ecore_Evas_X_Rotation_Effect
@ -2227,7 +2227,7 @@ _ecore_evas_x_size_step_set(Ecore_Evas *ee, int w, int h)
}
static void
_ecore_evas_object_cursor_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_object_cursor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee;
@ -2295,7 +2295,7 @@ _ecore_evas_x_layer_set(Ecore_Evas *ee, int layer)
}
static void
_ecore_evas_x_focus_set(Ecore_Evas *ee, int on __UNUSED__)
_ecore_evas_x_focus_set(Ecore_Evas *ee, int on EINA_UNUSED)
{
ecore_x_window_focus(ee->prop.window);
}
@ -2508,7 +2508,7 @@ _ecore_evas_x_avoid_damage_set(Ecore_Evas *ee, int on)
}
static void
_ecore_evas_x_screen_geometry_get(const Ecore_Evas *ee __UNUSED__, int *x, int *y, int *w, int *h)
_ecore_evas_x_screen_geometry_get(const Ecore_Evas *ee EINA_UNUSED, int *x, int *y, int *w, int *h)
{
int outnum = 0;
int px = 0, py = 0, pw = 0, ph = 0;
@ -2669,7 +2669,7 @@ static Ecore_Evas_Engine_Func _ecore_x_engine_func =
#if defined (BUILD_ECORE_EVAS_SOFTWARE_X11) || defined (BUILD_ECORE_EVAS_OPENGL_X11)
static void
_ecore_evas_x_flush_pre(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_x_flush_pre(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
@ -2691,7 +2691,7 @@ _ecore_evas_x_flush_pre(void *data, Evas *e __UNUSED__, void *event_info __UNUSE
}
static void
_ecore_evas_x_flush_post(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
_ecore_evas_x_flush_post(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ecore_Evas *ee = data;
@ -2912,8 +2912,8 @@ ecore_evas_software_x11_new(const char *disp_name, Ecore_X_Window parent,
}
#else
EAPI Ecore_Evas *
ecore_evas_software_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
ecore_evas_software_x11_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
@ -2936,7 +2936,7 @@ ecore_evas_software_x11_window_get(const Ecore_Evas *ee)
}
#else
EAPI Ecore_X_Window
ecore_evas_software_x11_window_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_software_x11_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
@ -2974,7 +2974,7 @@ ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee, Eina_Bool on)
}
#else
EAPI void
ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
ecore_evas_software_x11_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
#endif
@ -2993,7 +2993,7 @@ ecore_evas_software_x11_direct_resize_get(const Ecore_Evas *ee)
}
#else
EAPI Eina_Bool
ecore_evas_software_x11_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_software_x11_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
@ -3026,7 +3026,7 @@ ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window wi
}
#else
EAPI void
ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
}
#endif
@ -3162,14 +3162,14 @@ ecore_evas_gl_x11_options_new(const char *disp_name, Ecore_X_Window parent,
}
#else
EAPI Ecore_Evas *
ecore_evas_gl_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
ecore_evas_gl_x11_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_Evas *
ecore_evas_gl_x11_options_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__, const int *opt __UNUSED__)
ecore_evas_gl_x11_options_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED, const int *opt EINA_UNUSED)
{
return NULL;
}
@ -3192,7 +3192,7 @@ ecore_evas_gl_x11_window_get(const Ecore_Evas *ee)
}
#else
EAPI Ecore_X_Window
ecore_evas_gl_x11_window_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_gl_x11_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
@ -3212,7 +3212,7 @@ ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee, Eina_Bool on)
}
#else
EAPI void
ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
ecore_evas_gl_x11_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
@ -3231,7 +3231,7 @@ ecore_evas_gl_x11_direct_resize_get(const Ecore_Evas *ee)
}
#else
EAPI Eina_Bool
ecore_evas_gl_x11_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_gl_x11_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
@ -3251,7 +3251,7 @@ ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win)
}
#else
EAPI void
ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
ecore_evas_gl_x11_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
}
#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
@ -3286,101 +3286,101 @@ ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee, void *data, v
}
#else
EAPI void
ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee __UNUSED__, void *data __UNUSED__, void (*pre_cb) (void *data, Evas *e) __UNUSED__, void (*post_cb) (void *data, Evas *e) __UNUSED__)
ecore_evas_gl_x11_pre_post_swap_callback_set(const Ecore_Evas *ee EINA_UNUSED, void *data EINA_UNUSED, void (*pre_cb) (void *data, Evas *e) EINA_UNUSED, void (*post_cb) (void *data, Evas *e) EINA_UNUSED)
{
return;
}
#endif /* ! BUILD_ECORE_EVAS_OPENGL_X11 */
EAPI Ecore_Evas *
ecore_evas_xrender_x11_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
ecore_evas_xrender_x11_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_X_Window
ecore_evas_xrender_x11_window_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_xrender_x11_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
ecore_evas_xrender_x11_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
ecore_evas_xrender_x11_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
EAPI Eina_Bool
ecore_evas_xrender_x11_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_xrender_x11_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
ecore_evas_xrender_x11_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
ecore_evas_xrender_x11_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
}
EAPI Ecore_Evas *
ecore_evas_software_x11_16_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__,
int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
ecore_evas_software_x11_16_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED,
int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_X_Window
ecore_evas_software_x11_16_window_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_software_x11_16_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
ecore_evas_software_x11_16_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
ecore_evas_software_x11_16_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
EAPI Eina_Bool
ecore_evas_software_x11_16_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_software_x11_16_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
ecore_evas_software_x11_16_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
ecore_evas_software_x11_16_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
}
EAPI Ecore_Evas *
ecore_evas_software_x11_8_new(const char *disp_name __UNUSED__, Ecore_X_Window parent __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
ecore_evas_software_x11_8_new(const char *disp_name EINA_UNUSED, Ecore_X_Window parent EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
{
return NULL;
}
EAPI Ecore_X_Window
ecore_evas_software_x11_8_window_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_software_x11_8_window_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI Ecore_X_Window
ecore_evas_software_x11_8_subwindow_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_software_x11_8_subwindow_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
ecore_evas_software_x11_8_direct_resize_set(Ecore_Evas *ee __UNUSED__, Eina_Bool on __UNUSED__)
ecore_evas_software_x11_8_direct_resize_set(Ecore_Evas *ee EINA_UNUSED, Eina_Bool on EINA_UNUSED)
{
}
EAPI Eina_Bool
ecore_evas_software_x11_8_direct_resize_get(const Ecore_Evas *ee __UNUSED__)
ecore_evas_software_x11_8_direct_resize_get(const Ecore_Evas *ee EINA_UNUSED)
{
return 0;
}
EAPI void
ecore_evas_software_x11_8_extra_event_window_add(Ecore_Evas *ee __UNUSED__, Ecore_X_Window win __UNUSED__)
ecore_evas_software_x11_8_extra_event_window_add(Ecore_Evas *ee EINA_UNUSED, Ecore_X_Window win EINA_UNUSED)
{
return;
}

View File

@ -20,7 +20,7 @@ static int _ecore_fb_console_h = 0;
static sighandler_t oldhand = NULL;
static void
nosigint(int val __UNUSED__)
nosigint(int val EINA_UNUSED)
{
}
@ -38,7 +38,7 @@ nosigint(int val __UNUSED__)
* the Ecore_Fb library.
*/
EAPI int
ecore_fb_init(const char *name __UNUSED__)
ecore_fb_init(const char *name EINA_UNUSED)
{
if (++_ecore_fb_init_count != 1)
return _ecore_fb_init_count;

View File

@ -131,7 +131,7 @@ static Ecore_Fd_Handler *_ecore_fb_kbd_fd_handler_handle = NULL;
static Eina_Bool _ecore_fb_kbd_fd_handler(void *data, Ecore_Fd_Handler *fd_handler);
static void
_ecore_fb_event_free_key_down(void *data __UNUSED__, void *ev)
_ecore_fb_event_free_key_down(void *data EINA_UNUSED, void *ev)
{
Ecore_Fb_Event_Key_Down *e;
e = ev;
@ -142,7 +142,7 @@ _ecore_fb_event_free_key_down(void *data __UNUSED__, void *ev)
}
static void
_ecore_fb_event_free_key_up(void *data __UNUSED__, void *ev)
_ecore_fb_event_free_key_up(void *data EINA_UNUSED, void *ev)
{
Ecore_Fb_Event_Key_Up *e;
@ -154,7 +154,7 @@ _ecore_fb_event_free_key_up(void *data __UNUSED__, void *ev)
}
static Eina_Bool
_ecore_fb_kbd_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
_ecore_fb_kbd_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
int v = 0;

View File

@ -356,7 +356,7 @@ _ecore_fb_li_device_event_abs(Ecore_Fb_Input_Device *dev, struct input_event *ie
}
static void
_ecore_fb_li_device_event_syn(Ecore_Fb_Input_Device *dev, struct input_event *iev __UNUSED__)
_ecore_fb_li_device_event_syn(Ecore_Fb_Input_Device *dev, struct input_event *iev EINA_UNUSED)
{
if (!dev->listen) return;
@ -397,7 +397,7 @@ _ecore_fb_li_device_event_syn(Ecore_Fb_Input_Device *dev, struct input_event *ie
}
static Eina_Bool
_ecore_fb_li_device_fd_callback(void *data, Ecore_Fd_Handler *fdh __UNUSED__)
_ecore_fb_li_device_fd_callback(void *data, Ecore_Fd_Handler *fdh EINA_UNUSED)
{
Ecore_Fb_Input_Device *dev;
struct input_event ev[64];

View File

@ -41,7 +41,7 @@ ecore_fb_ps2_shutdown(void)
}
static Eina_Bool
_ecore_fb_ps2_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
_ecore_fb_ps2_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
static int prev_x = 0, prev_y = 0, prev_button = 0;
static double last_time = 0;

View File

@ -212,7 +212,7 @@ ecore_fb_touch_screen_calibrate_get(int *xscale, int *xtrans, int *yscale, int *
}
static Eina_Bool
_ecore_fb_ts_fd_handler(void *data __UNUSED__, Ecore_Fd_Handler *fd_handler __UNUSED__)
_ecore_fb_ts_fd_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
static int prev_x = 0, prev_y = 0, prev_pressure = 0;
static double last_time = 0;

View File

@ -38,7 +38,7 @@ static void _ecore_fb_event_filter_end(void *data, void *loop_data);
*/
static Eina_Bool
_ecore_fb_signal_usr_handler(void *data __UNUSED__, int type __UNUSED__, void *ev)
_ecore_fb_signal_usr_handler(void *data EINA_UNUSED, int type EINA_UNUSED, void *ev)
{
Ecore_Event_Signal_User *e;
@ -284,7 +284,7 @@ struct _Ecore_Fb_Filter_Data
};
static void *
_ecore_fb_event_filter_start(void *data __UNUSED__)
_ecore_fb_event_filter_start(void *data EINA_UNUSED)
{
Ecore_Fb_Filter_Data *filter_data;
@ -293,7 +293,7 @@ _ecore_fb_event_filter_start(void *data __UNUSED__)
}
static Eina_Bool
_ecore_fb_event_filter_filter(void *data __UNUSED__, void *loop_data,int type, void *event __UNUSED__)
_ecore_fb_event_filter_filter(void *data EINA_UNUSED, void *loop_data,int type, void *event EINA_UNUSED)
{
Ecore_Fb_Filter_Data *filter_data;
@ -312,7 +312,7 @@ _ecore_fb_event_filter_filter(void *data __UNUSED__, void *loop_data,int type, v
}
static void
_ecore_fb_event_filter_end(void *data __UNUSED__, void *loop_data)
_ecore_fb_event_filter_end(void *data EINA_UNUSED, void *loop_data)
{
Ecore_Fb_Filter_Data *filter_data;

View File

@ -90,7 +90,7 @@ ecore_file_download_shutdown(void)
#ifdef BUILD_ECORE_CON
# ifdef HAVE_CURL
static Eina_Bool
_ecore_file_download_headers_foreach_cb(const Eina_Hash *hash __UNUSED__, const void *key, void *data, void *fdata)
_ecore_file_download_headers_foreach_cb(const Eina_Hash *hash EINA_UNUSED, const void *key, void *data, void *fdata)
{
Ecore_File_Download_Job *job = fdata;
ecore_con_url_additional_header_add(job->url_con, key, data);
@ -299,7 +299,7 @@ _ecore_file_download_url_compare_job(const void *data1, const void *data2)
}
static Eina_Bool
_ecore_file_download_url_complete_cb(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_file_download_url_complete_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Con_Event_Url_Complete *ev = event;
Ecore_File_Download_Job *job;
@ -320,7 +320,7 @@ _ecore_file_download_url_complete_cb(void *data __UNUSED__, int type __UNUSED__,
}
static Eina_Bool
_ecore_file_download_url_progress_cb(void *data __UNUSED__, int type __UNUSED__, void *event)
_ecore_file_download_url_progress_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
/* this reports the downloads progress. if we return 0, then download
* continues, if we return anything else, then the download stops */

View File

@ -139,7 +139,7 @@ ecore_file_monitor_inotify_del(Ecore_File_Monitor *em)
}
static Eina_Bool
_ecore_file_monitor_inotify_handler(void *data __UNUSED__, Ecore_Fd_Handler *fdh)
_ecore_file_monitor_inotify_handler(void *data EINA_UNUSED, Ecore_Fd_Handler *fdh)
{
Ecore_File_Monitor *em;
char buffer[16384];

View File

@ -176,7 +176,7 @@ ecore_file_monitor_poll_del(Ecore_File_Monitor *em)
}
static Eina_Bool
_ecore_file_monitor_poll_handler(void *data __UNUSED__)
_ecore_file_monitor_poll_handler(void *data EINA_UNUSED)
{
Ecore_File_Monitor *l;

View File

@ -1023,7 +1023,7 @@ ecore_imf_context_surrounding_get(Ecore_IMF_Context *ctx, char **text, int *curs
}
static void
_ecore_imf_event_free_preedit(void *data __UNUSED__, void *event)
_ecore_imf_event_free_preedit(void *data EINA_UNUSED, void *event)
{
free(event);
}
@ -1112,7 +1112,7 @@ ecore_imf_context_preedit_changed_event_add(Ecore_IMF_Context *ctx)
}
static void
_ecore_imf_event_free_commit(void *data __UNUSED__, void *event)
_ecore_imf_event_free_commit(void *data EINA_UNUSED, void *event)
{
Ecore_IMF_Event_Commit *ev;
@ -1152,7 +1152,7 @@ ecore_imf_context_commit_event_add(Ecore_IMF_Context *ctx, const char *str)
}
static void
_ecore_imf_event_free_delete_surrounding(void *data __UNUSED__, void *event)
_ecore_imf_event_free_delete_surrounding(void *data EINA_UNUSED, void *event)
{
free(event);
}

View File

@ -57,7 +57,7 @@ ecore_imf_module_shutdown(void)
}
static Eina_Bool
_hash_module_available_get(const Eina_Hash *hash __UNUSED__, int *data, void *list)
_hash_module_available_get(const Eina_Hash *hash EINA_UNUSED, int *data, void *list)
{
*(Eina_List**)list = eina_list_append(*(Eina_List**)list, data);
return EINA_TRUE;
@ -111,7 +111,7 @@ ecore_imf_module_context_create(const char *ctx_id)
}
static Eina_Bool
_hash_ids_get(const Eina_Hash *hash __UNUSED__, const char *key, void *list)
_hash_ids_get(const Eina_Hash *hash EINA_UNUSED, const char *key, void *list)
{
*(Eina_List**)list = eina_list_append(*(Eina_List**)list, key);
return EINA_TRUE;
@ -136,7 +136,7 @@ ecore_imf_module_context_ids_get(void)
}
static Eina_Bool
_hash_ids_by_canvas_type_get(const Eina_Hash *hash __UNUSED__, void *data, void *fdata)
_hash_ids_by_canvas_type_get(const Eina_Hash *hash EINA_UNUSED, void *data, void *fdata)
{
Ecore_IMF_Module *module = data;
Ecore_IMF_Selector *selector = fdata;

View File

@ -223,7 +223,7 @@ _ecore_event_evas_mouse_button(Ecore_Event_Mouse_Button *e, Ecore_Event_Press pr
}
EAPI Eina_Bool
ecore_event_evas_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *event)
ecore_event_evas_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Event_Mouse_Move *e;
Ecore_Input_Window *lookup;
@ -260,13 +260,13 @@ ecore_event_evas_mouse_move(void *data __UNUSED__, int type __UNUSED__, void *ev
}
EAPI Eina_Bool
ecore_event_evas_mouse_button_down(void *data __UNUSED__, int type __UNUSED__, void *event)
ecore_event_evas_mouse_button_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_mouse_button((Ecore_Event_Mouse_Button *)event, ECORE_DOWN);
}
EAPI Eina_Bool
ecore_event_evas_mouse_button_up(void *data __UNUSED__, int type __UNUSED__, void *event)
ecore_event_evas_mouse_button_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_mouse_button((Ecore_Event_Mouse_Button *)event, ECORE_UP);
}
@ -296,19 +296,19 @@ _ecore_event_evas_mouse_io(Ecore_Event_Mouse_IO *e, Ecore_Event_IO io)
}
EAPI Eina_Bool
ecore_event_evas_key_down(void *data __UNUSED__, int type __UNUSED__, void *event)
ecore_event_evas_key_down(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_key((Ecore_Event_Key *)event, ECORE_DOWN);
}
EAPI Eina_Bool
ecore_event_evas_key_up(void *data __UNUSED__, int type __UNUSED__, void *event)
ecore_event_evas_key_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_key((Ecore_Event_Key *)event, ECORE_UP);
}
EAPI Eina_Bool
ecore_event_evas_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *event)
ecore_event_evas_mouse_wheel(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Event_Mouse_Wheel *e;
Ecore_Input_Window *lookup;
@ -322,13 +322,13 @@ ecore_event_evas_mouse_wheel(void *data __UNUSED__, int type __UNUSED__, void *e
}
EAPI Eina_Bool
ecore_event_evas_mouse_in(void *data __UNUSED__, int type __UNUSED__, void *event)
ecore_event_evas_mouse_in(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_mouse_io((Ecore_Event_Mouse_IO *)event, ECORE_IN);
}
EAPI Eina_Bool
ecore_event_evas_mouse_out(void *data __UNUSED__, int type __UNUSED__, void *event)
ecore_event_evas_mouse_out(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
return _ecore_event_evas_mouse_io((Ecore_Event_Mouse_IO *)event, ECORE_OUT);
}

View File

@ -1026,7 +1026,7 @@ ecore_ipc_ssl_available_get(void)
static Eina_Bool
_ecore_ipc_event_client_add(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
_ecore_ipc_event_client_add(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Client_Add *e;
Ecore_Ipc_Server *svr;
@ -1064,7 +1064,7 @@ _ecore_ipc_event_client_add(void *data __UNUSED__, int ev_type __UNUSED__, void
}
static Eina_Bool
_ecore_ipc_event_client_del(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
_ecore_ipc_event_client_del(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Client_Del *e;
Ecore_Ipc_Server *svr;
@ -1099,7 +1099,7 @@ _ecore_ipc_event_client_del(void *data __UNUSED__, int ev_type __UNUSED__, void
}
static Eina_Bool
_ecore_ipc_event_server_add(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
_ecore_ipc_event_server_add(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Server_Add *e;
@ -1128,7 +1128,7 @@ _ecore_ipc_event_server_add(void *data __UNUSED__, int ev_type __UNUSED__, void
}
static Eina_Bool
_ecore_ipc_event_server_del(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
_ecore_ipc_event_server_del(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Server_Del *e;
@ -1199,7 +1199,7 @@ _ecore_ipc_event_server_del(void *data __UNUSED__, int ev_type __UNUSED__, void
msg._member = _ecore_ipc_ddlt_int(d, cl->prev.i._member, md);
static Eina_Bool
_ecore_ipc_event_client_data(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
_ecore_ipc_event_client_data(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Client_Data *e;
Ecore_Ipc_Server *svr;
@ -1391,7 +1391,7 @@ _ecore_ipc_event_client_data(void *data __UNUSED__, int ev_type __UNUSED__, void
msg._member = _ecore_ipc_ddlt_int(d, svr->prev.i._member, md);
static Eina_Bool
_ecore_ipc_event_server_data(void *data __UNUSED__, int ev_type __UNUSED__, void *ev)
_ecore_ipc_event_server_data(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *ev)
{
Ecore_Con_Event_Server_Data *e;
@ -1531,7 +1531,7 @@ _ecore_ipc_event_server_data(void *data __UNUSED__, int ev_type __UNUSED__, void
}
static void
_ecore_ipc_event_client_add_free(void *data __UNUSED__, void *ev)
_ecore_ipc_event_client_add_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Client_Add *e;
@ -1543,7 +1543,7 @@ _ecore_ipc_event_client_add_free(void *data __UNUSED__, void *ev)
}
static void
_ecore_ipc_event_client_del_free(void *data __UNUSED__, void *ev)
_ecore_ipc_event_client_del_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Client_Del *e;
@ -1555,7 +1555,7 @@ _ecore_ipc_event_client_del_free(void *data __UNUSED__, void *ev)
}
static void
_ecore_ipc_event_client_data_free(void *data __UNUSED__, void *ev)
_ecore_ipc_event_client_data_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Client_Data *e;
@ -1568,7 +1568,7 @@ _ecore_ipc_event_client_data_free(void *data __UNUSED__, void *ev)
}
static void
_ecore_ipc_event_server_add_free(void *data __UNUSED__, void *ev)
_ecore_ipc_event_server_add_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Server_Add *e;
@ -1580,7 +1580,7 @@ _ecore_ipc_event_server_add_free(void *data __UNUSED__, void *ev)
}
static void
_ecore_ipc_event_server_del_free(void *data __UNUSED__, void *ev)
_ecore_ipc_event_server_del_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Server_Add *e;
@ -1592,7 +1592,7 @@ _ecore_ipc_event_server_del_free(void *data __UNUSED__, void *ev)
}
static void
_ecore_ipc_event_server_data_free(void *data __UNUSED__, void *ev)
_ecore_ipc_event_server_data_free(void *data EINA_UNUSED, void *ev)
{
Ecore_Ipc_Event_Server_Data *e;

View File

@ -72,7 +72,7 @@ static void xmb_event_handler(u64 status, u64 param, void *user_data);
* @ingroup Ecore_PSL1GHT_Library_Group
*/
EAPI int
ecore_psl1ght_init(const char *name __UNUSED__)
ecore_psl1ght_init(const char *name EINA_UNUSED)
{
videoState state;
videoResolution resolution;

View File

@ -35,7 +35,7 @@ static Eina_Rbtree *repeat = NULL;
static Eina_Rbtree_Direction
_ecore_sdl_pressed_key(const Ecore_SDL_Pressed *left,
const Ecore_SDL_Pressed *right,
__UNUSED__ void *data)
EINA_UNUSED void *data)
{
return left->key < right->key ? EINA_RBTREE_LEFT : EINA_RBTREE_RIGHT;
}
@ -43,8 +43,8 @@ _ecore_sdl_pressed_key(const Ecore_SDL_Pressed *left,
static int
_ecore_sdl_pressed_node(const Ecore_SDL_Pressed *node,
const SDLKey *key,
__UNUSED__ int length,
__UNUSED__ void *data)
EINA_UNUSED int length,
EINA_UNUSED void *data)
{
return node->key - *key;
}
@ -63,7 +63,7 @@ _ecore_sdl_pressed_node(const Ecore_SDL_Pressed *node,
* @ingroup Ecore_SDL_Library_Group
*/
EAPI int
ecore_sdl_init(const char *name __UNUSED__)
ecore_sdl_init(const char *name EINA_UNUSED)
{
if(++_ecore_sdl_init_count != 1)
return _ecore_sdl_init_count;

View File

@ -8,7 +8,7 @@
/* local function prototypes */
static Eina_Bool _ecore_wl_shutdown(Eina_Bool close);
static Eina_Bool _ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl);
static void _ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned int id, const char *interface, unsigned int version __UNUSED__);
static void _ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned int id, const char *interface, unsigned int version EINA_UNUSED);
static Eina_Bool _ecore_wl_xkb_init(Ecore_Wl_Display *ewd);
static Eina_Bool _ecore_wl_xkb_shutdown(Ecore_Wl_Display *ewd);
@ -418,7 +418,7 @@ _ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl)
}
static void
_ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned int id, const char *interface, unsigned int version __UNUSED__)
_ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned int id, const char *interface, unsigned int version EINA_UNUSED)
{
Ecore_Wl_Display *ewd;

View File

@ -19,8 +19,8 @@ struct _dnd_read_ctx
};
/* local function prototypes */
static void _ecore_wl_dnd_offer(void *data, struct wl_data_offer *wl_data_offer __UNUSED__, const char *type);
static void _ecore_wl_dnd_cb_enter_free(void *data __UNUSED__, void *event);
static void _ecore_wl_dnd_offer(void *data, struct wl_data_offer *wl_data_offer EINA_UNUSED, const char *type);
static void _ecore_wl_dnd_cb_enter_free(void *data EINA_UNUSED, void *event);
static void _ecore_wl_dnd_data_source_target(void *data, struct wl_data_source *source, const char *mime_type);
static void _ecore_wl_dnd_data_source_send(void *data, struct wl_data_source *source, const char *mime_type, int32_t fd);
@ -49,7 +49,7 @@ ecore_wl_dnd_get()
}
EAPI Eina_Bool
ecore_wl_dnd_start_drag(Ecore_Wl_Dnd *dnd __UNUSED__)
ecore_wl_dnd_start_drag(Ecore_Wl_Dnd *dnd EINA_UNUSED)
{
//TODO:
return EINA_TRUE;
@ -117,13 +117,13 @@ ecore_wl_dnd_selection_has_owner(Ecore_Wl_Dnd *dnd)
/* local functions */
static void
_ecore_wl_dnd_data_source_target(void *data __UNUSED__, struct wl_data_source *source __UNUSED__, const char *mime_type __UNUSED__)
_ecore_wl_dnd_data_source_target(void *data EINA_UNUSED, struct wl_data_source *source EINA_UNUSED, const char *mime_type EINA_UNUSED)
{
//TODO:
}
static void
_ecore_wl_dnd_cb_data_source_send_free(void *data __UNUSED__, void *event)
_ecore_wl_dnd_cb_data_source_send_free(void *data EINA_UNUSED, void *event)
{
Ecore_Wl_Event_Data_Source_Send *ev;
@ -136,7 +136,7 @@ _ecore_wl_dnd_cb_data_source_send_free(void *data __UNUSED__, void *event)
}
static void
_ecore_wl_dnd_data_source_send(void *data, struct wl_data_source *source __UNUSED__, const char *mime_type, int32_t fd)
_ecore_wl_dnd_data_source_send(void *data, struct wl_data_source *source EINA_UNUSED, const char *mime_type, int32_t fd)
{
Ecore_Wl_Event_Data_Source_Send *event;
@ -153,13 +153,13 @@ _ecore_wl_dnd_data_source_send(void *data, struct wl_data_source *source __UNUSE
}
static void
_ecore_wl_dnd_data_source_cancelled(void *data __UNUSED__, struct wl_data_source *source)
_ecore_wl_dnd_data_source_cancelled(void *data EINA_UNUSED, struct wl_data_source *source)
{
wl_data_source_destroy(source);
}
void
_ecore_wl_dnd_add(Ecore_Wl_Input *input, struct wl_data_device *data_device __UNUSED__, struct wl_data_offer *offer)
_ecore_wl_dnd_add(Ecore_Wl_Input *input, struct wl_data_device *data_device EINA_UNUSED, struct wl_data_offer *offer)
{
Ecore_Wl_Dnd_Source *source;
@ -175,7 +175,7 @@ _ecore_wl_dnd_add(Ecore_Wl_Input *input, struct wl_data_device *data_device __UN
}
void
_ecore_wl_dnd_enter(void *data, struct wl_data_device *data_device __UNUSED__, unsigned int timestamp __UNUSED__, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *offer)
_ecore_wl_dnd_enter(void *data, struct wl_data_device *data_device EINA_UNUSED, unsigned int timestamp EINA_UNUSED, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *offer)
{
Ecore_Wl_Event_Dnd_Enter *event;
Ecore_Wl_Input *input;
@ -214,7 +214,7 @@ _ecore_wl_dnd_enter(void *data, struct wl_data_device *data_device __UNUSED__, u
}
void
_ecore_wl_dnd_leave(void *data, struct wl_data_device *data_device __UNUSED__)
_ecore_wl_dnd_leave(void *data, struct wl_data_device *data_device EINA_UNUSED)
{
Ecore_Wl_Input *input;
@ -228,7 +228,7 @@ _ecore_wl_dnd_leave(void *data, struct wl_data_device *data_device __UNUSED__)
}
void
_ecore_wl_dnd_motion(void *data, struct wl_data_device *data_device __UNUSED__, unsigned int timestamp __UNUSED__, wl_fixed_t x, wl_fixed_t y)
_ecore_wl_dnd_motion(void *data, struct wl_data_device *data_device EINA_UNUSED, unsigned int timestamp EINA_UNUSED, wl_fixed_t x, wl_fixed_t y)
{
Ecore_Wl_Event_Dnd_Position *event;
Ecore_Wl_Input *input;
@ -260,7 +260,7 @@ _ecore_wl_dnd_motion(void *data, struct wl_data_device *data_device __UNUSED__,
}
void
_ecore_wl_dnd_drop(void *data, struct wl_data_device *data_device __UNUSED__)
_ecore_wl_dnd_drop(void *data, struct wl_data_device *data_device EINA_UNUSED)
{
Ecore_Wl_Event_Dnd_Drop *event;
Ecore_Wl_Input *input;
@ -289,7 +289,7 @@ _ecore_wl_dnd_drop(void *data, struct wl_data_device *data_device __UNUSED__)
}
void
_ecore_wl_dnd_selection(void *data, struct wl_data_device *data_device __UNUSED__, struct wl_data_offer *offer)
_ecore_wl_dnd_selection(void *data, struct wl_data_device *data_device EINA_UNUSED, struct wl_data_offer *offer)
{
Ecore_Wl_Input *input;
@ -329,7 +329,7 @@ _ecore_wl_dnd_del(Ecore_Wl_Dnd_Source *source)
/* local functions */
static void
_ecore_wl_dnd_offer(void *data, struct wl_data_offer *wl_data_offer __UNUSED__, const char *type)
_ecore_wl_dnd_offer(void *data, struct wl_data_offer *wl_data_offer EINA_UNUSED, const char *type)
{
Ecore_Wl_Dnd_Source *source;
char **p;
@ -342,7 +342,7 @@ _ecore_wl_dnd_offer(void *data, struct wl_data_offer *wl_data_offer __UNUSED__,
}
static void
_ecore_wl_dnd_cb_enter_free(void *data __UNUSED__, void *event)
_ecore_wl_dnd_cb_enter_free(void *data EINA_UNUSED, void *event)
{
Ecore_Wl_Event_Dnd_Enter *ev;
@ -353,7 +353,7 @@ _ecore_wl_dnd_cb_enter_free(void *data __UNUSED__, void *event)
}
static void
_ecore_wl_dnd_cb_selection_data_ready_free(void *data __UNUSED__, void *event)
_ecore_wl_dnd_cb_selection_data_ready_free(void *data EINA_UNUSED, void *event)
{
Ecore_Wl_Event_Selection_Data_Ready *ev;
@ -366,7 +366,7 @@ _ecore_wl_dnd_cb_selection_data_ready_free(void *data __UNUSED__, void *event)
}
static Eina_Bool
_ecore_wl_dnd_read_data(void *data, Ecore_Fd_Handler *fd_handler __UNUSED__)
_ecore_wl_dnd_read_data(void *data, Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
int len;
char buffer[4096];

View File

@ -40,23 +40,23 @@ Ecore_Wl_Dnd *glb_dnd = NULL;
/* local function prototypes */
static void _ecore_wl_input_seat_handle_capabilities(void *data, struct wl_seat *seat, enum wl_seat_capability caps);
static void _ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy);
static void _ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, struct wl_surface *surface);
static void _ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int timestamp, wl_fixed_t sx, wl_fixed_t sy);
static void _ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, unsigned int timestamp, unsigned int button, unsigned int state);
static void _ecore_wl_input_cb_pointer_axis(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int timestamp, unsigned int axis, wl_fixed_t value);
static void _ecore_wl_input_cb_pointer_frame(void *data, struct wl_callback *callback, unsigned int timestamp __UNUSED__);
static void _ecore_wl_input_cb_keyboard_keymap(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int format, int fd, unsigned int size);
static void _ecore_wl_input_cb_keyboard_enter(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, struct wl_surface *surface, struct wl_array *keys __UNUSED__);
static void _ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, struct wl_surface *surface);
static void _ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, unsigned int timestamp, unsigned int key, unsigned int state);
static void _ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial __UNUSED__, unsigned int depressed, unsigned int latched, unsigned int locked, unsigned int group);
static Eina_Bool _ecore_wl_input_cb_keyboard_repeat(void *data, Ecore_Fd_Handler *handler __UNUSED__);
static void _ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch __UNUSED__, unsigned int serial, unsigned int timestamp, struct wl_surface *surface __UNUSED__, int id __UNUSED__, wl_fixed_t x, wl_fixed_t y);
static void _ecore_wl_input_cb_touch_up(void *data, struct wl_touch *touch __UNUSED__, unsigned int serial, unsigned int timestamp, int id __UNUSED__);
static void _ecore_wl_input_cb_touch_motion(void *data, struct wl_touch *touch __UNUSED__, unsigned int timestamp, int id __UNUSED__, wl_fixed_t x, wl_fixed_t y);
static void _ecore_wl_input_cb_touch_frame(void *data __UNUSED__, struct wl_touch *touch __UNUSED__);
static void _ecore_wl_input_cb_touch_cancel(void *data __UNUSED__, struct wl_touch *touch __UNUSED__);
static void _ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy);
static void _ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface);
static void _ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int timestamp, wl_fixed_t sx, wl_fixed_t sy);
static void _ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, unsigned int timestamp, unsigned int button, unsigned int state);
static void _ecore_wl_input_cb_pointer_axis(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int timestamp, unsigned int axis, wl_fixed_t value);
static void _ecore_wl_input_cb_pointer_frame(void *data, struct wl_callback *callback, unsigned int timestamp EINA_UNUSED);
static void _ecore_wl_input_cb_keyboard_keymap(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int format, int fd, unsigned int size);
static void _ecore_wl_input_cb_keyboard_enter(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, struct wl_surface *surface, struct wl_array *keys EINA_UNUSED);
static void _ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, struct wl_surface *surface);
static void _ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, unsigned int timestamp, unsigned int key, unsigned int state);
static void _ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial EINA_UNUSED, unsigned int depressed, unsigned int latched, unsigned int locked, unsigned int group);
static Eina_Bool _ecore_wl_input_cb_keyboard_repeat(void *data, Ecore_Fd_Handler *handler EINA_UNUSED);
static void _ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int serial, unsigned int timestamp, struct wl_surface *surface EINA_UNUSED, int id EINA_UNUSED, wl_fixed_t x, wl_fixed_t y);
static void _ecore_wl_input_cb_touch_up(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int serial, unsigned int timestamp, int id EINA_UNUSED);
static void _ecore_wl_input_cb_touch_motion(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int timestamp, int id EINA_UNUSED, wl_fixed_t x, wl_fixed_t y);
static void _ecore_wl_input_cb_touch_frame(void *data EINA_UNUSED, struct wl_touch *touch EINA_UNUSED);
static void _ecore_wl_input_cb_touch_cancel(void *data EINA_UNUSED, struct wl_touch *touch EINA_UNUSED);
static void _ecore_wl_input_cb_data_offer(void *data, struct wl_data_device *data_device, struct wl_data_offer *offer);
static void _ecore_wl_input_cb_data_enter(void *data, struct wl_data_device *data_device, unsigned int timestamp, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *offer);
static void _ecore_wl_input_cb_data_leave(void *data, struct wl_data_device *data_device);
@ -67,8 +67,8 @@ static void _ecore_wl_input_cb_data_selection(void *data, struct wl_data_device
static void _ecore_wl_input_mouse_move_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_in_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_out_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_focus_in_send(Ecore_Wl_Input *input __UNUSED__, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_focus_out_send(Ecore_Wl_Input *input __UNUSED__, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_focus_in_send(Ecore_Wl_Input *input EINA_UNUSED, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_focus_out_send(Ecore_Wl_Input *input EINA_UNUSED, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_down_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_up_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsigned int timestamp);
static void _ecore_wl_input_mouse_wheel_send(Ecore_Wl_Input *input, unsigned int axis, int value, unsigned int timestamp);
@ -364,7 +364,7 @@ _ecore_wl_input_seat_handle_capabilities(void *data, struct wl_seat *seat, enum
static void
_ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int timestamp, wl_fixed_t sx, wl_fixed_t sy)
_ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int timestamp, wl_fixed_t sx, wl_fixed_t sy)
{
Ecore_Wl_Input *input;
@ -382,7 +382,7 @@ _ecore_wl_input_cb_pointer_motion(void *data, struct wl_pointer *pointer __UNUSE
}
static void
_ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, unsigned int timestamp, unsigned int button, unsigned int state)
_ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, unsigned int timestamp, unsigned int button, unsigned int state)
{
Ecore_Wl_Input *input;
@ -418,7 +418,7 @@ _ecore_wl_input_cb_pointer_button(void *data, struct wl_pointer *pointer __UNUSE
}
static void
_ecore_wl_input_cb_pointer_axis(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int timestamp, unsigned int axis, wl_fixed_t value)
_ecore_wl_input_cb_pointer_axis(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int timestamp, unsigned int axis, wl_fixed_t value)
{
Ecore_Wl_Input *input;
@ -430,7 +430,7 @@ _ecore_wl_input_cb_pointer_axis(void *data, struct wl_pointer *pointer __UNUSED_
}
static void
_ecore_wl_input_cb_pointer_frame(void *data, struct wl_callback *callback, unsigned int timestamp __UNUSED__)
_ecore_wl_input_cb_pointer_frame(void *data, struct wl_callback *callback, unsigned int timestamp EINA_UNUSED)
{
Ecore_Wl_Input *input;
@ -460,7 +460,7 @@ _ecore_wl_input_cb_pointer_frame(void *data, struct wl_callback *callback, unsig
}
static void
_ecore_wl_input_cb_keyboard_keymap(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int format, int fd, unsigned int size)
_ecore_wl_input_cb_keyboard_keymap(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int format, int fd, unsigned int size)
{
Ecore_Wl_Input *input;
char *map = NULL;
@ -510,7 +510,7 @@ _ecore_wl_input_cb_keyboard_keymap(void *data, struct wl_keyboard *keyboard __UN
}
static void
_ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, unsigned int timestamp, unsigned int keycode, unsigned int state)
_ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, unsigned int timestamp, unsigned int keycode, unsigned int state)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win;
@ -633,7 +633,7 @@ _ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard __UNUSE
}
static void
_ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial __UNUSED__, unsigned int depressed, unsigned int latched, unsigned int locked, unsigned int group)
_ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial EINA_UNUSED, unsigned int depressed, unsigned int latched, unsigned int locked, unsigned int group)
{
Ecore_Wl_Input *input;
@ -645,7 +645,7 @@ _ecore_wl_input_cb_keyboard_modifiers(void *data, struct wl_keyboard *keyboard _
}
static Eina_Bool
_ecore_wl_input_cb_keyboard_repeat(void *data, Ecore_Fd_Handler *handler __UNUSED__)
_ecore_wl_input_cb_keyboard_repeat(void *data, Ecore_Fd_Handler *handler EINA_UNUSED)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win = NULL;
@ -668,7 +668,7 @@ _ecore_wl_input_cb_keyboard_repeat(void *data, Ecore_Fd_Handler *handler __UNUSE
}
static void
_ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy)
_ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface, wl_fixed_t sx, wl_fixed_t sy)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win = NULL;
@ -737,7 +737,7 @@ _ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer __UNUSED
}
static void
_ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer __UNUSED__, unsigned int serial, struct wl_surface *surface)
_ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, struct wl_surface *surface)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win;
@ -767,7 +767,7 @@ _ecore_wl_input_cb_pointer_leave(void *data, struct wl_pointer *pointer __UNUSED
}
static void
_ecore_wl_input_cb_keyboard_enter(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, struct wl_surface *surface, struct wl_array *keys __UNUSED__)
_ecore_wl_input_cb_keyboard_enter(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, struct wl_surface *surface, struct wl_array *keys EINA_UNUSED)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win = NULL;
@ -796,7 +796,7 @@ _ecore_wl_input_cb_keyboard_enter(void *data, struct wl_keyboard *keyboard __UNU
}
static void
_ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard __UNUSED__, unsigned int serial, struct wl_surface *surface)
_ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsigned int serial, struct wl_surface *surface)
{
Ecore_Wl_Input *input;
Ecore_Wl_Window *win;
@ -838,7 +838,7 @@ _ecore_wl_input_cb_keyboard_leave(void *data, struct wl_keyboard *keyboard __UNU
}
static void
_ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch __UNUSED__, unsigned int serial, unsigned int timestamp, struct wl_surface *surface __UNUSED__, int id __UNUSED__, wl_fixed_t x, wl_fixed_t y)
_ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int serial, unsigned int timestamp, struct wl_surface *surface EINA_UNUSED, int id EINA_UNUSED, wl_fixed_t x, wl_fixed_t y)
{
Ecore_Wl_Input *input;
@ -859,7 +859,7 @@ _ecore_wl_input_cb_touch_down(void *data, struct wl_touch *touch __UNUSED__, uns
}
static void
_ecore_wl_input_cb_touch_up(void *data, struct wl_touch *touch __UNUSED__, unsigned int serial, unsigned int timestamp, int id __UNUSED__)
_ecore_wl_input_cb_touch_up(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int serial, unsigned int timestamp, int id EINA_UNUSED)
{
Ecore_Wl_Input *input;
@ -877,7 +877,7 @@ _ecore_wl_input_cb_touch_up(void *data, struct wl_touch *touch __UNUSED__, unsig
}
static void
_ecore_wl_input_cb_touch_motion(void *data, struct wl_touch *touch __UNUSED__, unsigned int timestamp, int id __UNUSED__, wl_fixed_t x, wl_fixed_t y)
_ecore_wl_input_cb_touch_motion(void *data, struct wl_touch *touch EINA_UNUSED, unsigned int timestamp, int id EINA_UNUSED, wl_fixed_t x, wl_fixed_t y)
{
Ecore_Wl_Input *input;
@ -895,13 +895,13 @@ _ecore_wl_input_cb_touch_motion(void *data, struct wl_touch *touch __UNUSED__, u
}
static void
_ecore_wl_input_cb_touch_frame(void *data __UNUSED__, struct wl_touch *touch __UNUSED__)
_ecore_wl_input_cb_touch_frame(void *data EINA_UNUSED, struct wl_touch *touch EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
}
static void
_ecore_wl_input_cb_touch_cancel(void *data __UNUSED__, struct wl_touch *touch __UNUSED__)
_ecore_wl_input_cb_touch_cancel(void *data EINA_UNUSED, struct wl_touch *touch EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
}
@ -1040,7 +1040,7 @@ _ecore_wl_input_mouse_out_send(Ecore_Wl_Input *input, Ecore_Wl_Window *win, unsi
}
static void
_ecore_wl_input_focus_in_send(Ecore_Wl_Input *input __UNUSED__, Ecore_Wl_Window *win, unsigned int timestamp)
_ecore_wl_input_focus_in_send(Ecore_Wl_Input *input EINA_UNUSED, Ecore_Wl_Window *win, unsigned int timestamp)
{
Ecore_Wl_Event_Focus_In *ev;
@ -1053,7 +1053,7 @@ _ecore_wl_input_focus_in_send(Ecore_Wl_Input *input __UNUSED__, Ecore_Wl_Window
}
static void
_ecore_wl_input_focus_out_send(Ecore_Wl_Input *input __UNUSED__, Ecore_Wl_Window *win, unsigned int timestamp)
_ecore_wl_input_focus_out_send(Ecore_Wl_Input *input EINA_UNUSED, Ecore_Wl_Window *win, unsigned int timestamp)
{
Ecore_Wl_Event_Focus_Out *ev;

View File

@ -5,8 +5,8 @@
#include "ecore_wl_private.h"
/* local function prototypes */
static void _ecore_wl_output_cb_geometry(void *data, struct wl_output *wl_output __UNUSED__, int x, int y, int w, int h, int subpixel __UNUSED__, const char *make __UNUSED__, const char *model __UNUSED__, int transform __UNUSED__);
static void _ecore_wl_output_cb_mode(void *data, struct wl_output *wl_output __UNUSED__, unsigned int flags, int w, int h, int refresh __UNUSED__);
static void _ecore_wl_output_cb_geometry(void *data, struct wl_output *wl_output EINA_UNUSED, int x, int y, int w, int h, int subpixel EINA_UNUSED, const char *make EINA_UNUSED, const char *model EINA_UNUSED, int transform EINA_UNUSED);
static void _ecore_wl_output_cb_mode(void *data, struct wl_output *wl_output EINA_UNUSED, unsigned int flags, int w, int h, int refresh EINA_UNUSED);
/* wayland listeners */
static const struct wl_output_listener _ecore_wl_output_listener =
@ -54,7 +54,7 @@ _ecore_wl_output_del(Ecore_Wl_Output *output)
/* local functions */
static void
_ecore_wl_output_cb_geometry(void *data, struct wl_output *wl_output __UNUSED__, int x, int y, int w, int h, int subpixel __UNUSED__, const char *make __UNUSED__, const char *model __UNUSED__, int transform __UNUSED__)
_ecore_wl_output_cb_geometry(void *data, struct wl_output *wl_output EINA_UNUSED, int x, int y, int w, int h, int subpixel EINA_UNUSED, const char *make EINA_UNUSED, const char *model EINA_UNUSED, int transform EINA_UNUSED)
{
Ecore_Wl_Output *output;
@ -68,7 +68,7 @@ _ecore_wl_output_cb_geometry(void *data, struct wl_output *wl_output __UNUSED__,
}
static void
_ecore_wl_output_cb_mode(void *data, struct wl_output *wl_output __UNUSED__, unsigned int flags, int w, int h, int refresh __UNUSED__)
_ecore_wl_output_cb_mode(void *data, struct wl_output *wl_output EINA_UNUSED, unsigned int flags, int w, int h, int refresh EINA_UNUSED)
{
Ecore_Wl_Output *output;
Ecore_Wl_Display *ewd;

View File

@ -5,11 +5,11 @@
#include "ecore_wl_private.h"
/* local function prototypes */
static void _ecore_wl_window_cb_ping(void *data __UNUSED__, struct wl_shell_surface *shell_surface, unsigned int serial);
static void _ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface __UNUSED__, unsigned int edges, int w, int h);
static void _ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface __UNUSED__);
static void _ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output __UNUSED__);
static void _ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output __UNUSED__);
static void _ecore_wl_window_cb_ping(void *data EINA_UNUSED, struct wl_shell_surface *shell_surface, unsigned int serial);
static void _ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED, unsigned int edges, int w, int h);
static void _ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED);
static void _ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED);
static void _ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED);
static void _ecore_wl_window_configure_send(Ecore_Wl_Window *win, int w, int h);
static char *_ecore_wl_window_id_str_get(unsigned int win_id);
@ -605,14 +605,14 @@ ecore_wl_window_parent_set(Ecore_Wl_Window *win, Ecore_Wl_Window *parent)
/* local functions */
static void
_ecore_wl_window_cb_ping(void *data __UNUSED__, struct wl_shell_surface *shell_surface, unsigned int serial)
_ecore_wl_window_cb_ping(void *data EINA_UNUSED, struct wl_shell_surface *shell_surface, unsigned int serial)
{
if (!shell_surface) return;
wl_shell_surface_pong(shell_surface, serial);
}
static void
_ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface __UNUSED__, unsigned int edges, int w, int h)
_ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED, unsigned int edges, int w, int h)
{
Ecore_Wl_Window *win;
@ -635,7 +635,7 @@ _ecore_wl_window_cb_configure(void *data, struct wl_shell_surface *shell_surface
}
static void
_ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface __UNUSED__)
_ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surface EINA_UNUSED)
{
Ecore_Wl_Window *win;
@ -647,7 +647,7 @@ _ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface *shell_surfac
}
static void
_ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output __UNUSED__)
_ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED)
{
Ecore_Wl_Window *win;
@ -658,7 +658,7 @@ _ecore_wl_window_cb_surface_enter(void *data, struct wl_surface *surface, struct
}
static void
_ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output __UNUSED__)
_ecore_wl_window_cb_surface_leave(void *data, struct wl_surface *surface, struct wl_output *output EINA_UNUSED)
{
Ecore_Wl_Window *win;

View File

@ -620,7 +620,7 @@ _ecore_win32_event_handle_delete_request(Ecore_Win32_Callback_Data *msg)
/***** Private functions definitions *****/
static void
_ecore_win32_event_free_key_down(void *data __UNUSED__,
_ecore_win32_event_free_key_down(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Key *e;
@ -633,7 +633,7 @@ _ecore_win32_event_free_key_down(void *data __UNUSED__,
}
static void
_ecore_win32_event_free_key_up(void *data __UNUSED__,
_ecore_win32_event_free_key_up(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Key *e;

View File

@ -163,13 +163,13 @@ _ecore_wince_window_procedure(HWND window,
}
static void
_ecore_wince_error_print_cb(const Eina_Log_Domain *d __UNUSED__,
Eina_Log_Level level __UNUSED__,
const char *file __UNUSED__,
_ecore_wince_error_print_cb(const Eina_Log_Domain *d EINA_UNUSED,
Eina_Log_Level level EINA_UNUSED,
const char *file EINA_UNUSED,
const char *fnc,
int line,
const char *fmt,
void *data __UNUSED__,
void *data EINA_UNUSED,
va_list args)
{
fprintf(stderr, "[%s:%d] ", fnc, line);

View File

@ -42,7 +42,7 @@ static int _ecore_wince_mouse_up_count = 0;
static Ecore_Wince_Key_Mask _ecore_wince_key_mask = 0;
static void
_ecore_wince_event_free_key_down(void *data __UNUSED__,
_ecore_wince_event_free_key_down(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Key *e;
@ -55,7 +55,7 @@ _ecore_wince_event_free_key_down(void *data __UNUSED__,
}
static void
_ecore_wince_event_free_key_up(void *data __UNUSED__,
_ecore_wince_event_free_key_up(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Key *e;

View File

@ -4,9 +4,9 @@
/* local function prototypes */
static int _ecore_xcb_shutdown(Eina_Bool close_display);
static Eina_Bool _ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr __UNUSED__);
static Eina_Bool _ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr __UNUSED__);
static Eina_Bool _ecore_xcb_idle_enter(void *data __UNUSED__);
static Eina_Bool _ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED);
static Eina_Bool _ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED);
static Eina_Bool _ecore_xcb_idle_enter(void *data EINA_UNUSED);
/* local variables */
static int _ecore_xcb_init_count = 0;
@ -1028,7 +1028,7 @@ ecore_x_bell(int percent)
}
EAPI void
ecore_x_display_size_get(Ecore_X_Display *dsp __UNUSED__, int *w, int *h)
ecore_x_display_size_get(Ecore_X_Display *dsp EINA_UNUSED, int *w, int *h)
{
xcb_screen_t *screen;
@ -1042,7 +1042,7 @@ ecore_x_display_size_get(Ecore_X_Display *dsp __UNUSED__, int *w, int *h)
}
EAPI unsigned long
ecore_x_display_black_pixel_get(Ecore_X_Display *dsp __UNUSED__)
ecore_x_display_black_pixel_get(Ecore_X_Display *dsp EINA_UNUSED)
{
xcb_screen_t *screen;
@ -1055,7 +1055,7 @@ ecore_x_display_black_pixel_get(Ecore_X_Display *dsp __UNUSED__)
}
EAPI unsigned long
ecore_x_display_white_pixel_get(Ecore_X_Display *dsp __UNUSED__)
ecore_x_display_white_pixel_get(Ecore_X_Display *dsp EINA_UNUSED)
{
xcb_screen_t *screen;
@ -1346,7 +1346,7 @@ ecore_x_visual_id_get(Ecore_X_Visual visual)
* @since 1.1.0
*/
EAPI Ecore_X_Visual
ecore_x_default_visual_get(Ecore_X_Display *disp __UNUSED__, Ecore_X_Screen *screen)
ecore_x_default_visual_get(Ecore_X_Display *disp EINA_UNUSED, Ecore_X_Screen *screen)
{
xcb_screen_t *s;
xcb_depth_iterator_t diter;
@ -1378,7 +1378,7 @@ ecore_x_default_visual_get(Ecore_X_Display *disp __UNUSED__, Ecore_X_Screen *scr
* @since 1.1.0
*/
EAPI Ecore_X_Colormap
ecore_x_default_colormap_get(Ecore_X_Display *disp __UNUSED__, Ecore_X_Screen *screen)
ecore_x_default_colormap_get(Ecore_X_Display *disp EINA_UNUSED, Ecore_X_Screen *screen)
{
xcb_screen_t *s;
@ -1396,7 +1396,7 @@ ecore_x_default_colormap_get(Ecore_X_Display *disp __UNUSED__, Ecore_X_Screen *s
* @since 1.1.0
*/
EAPI int
ecore_x_default_depth_get(Ecore_X_Display *disp __UNUSED__, Ecore_X_Screen *screen)
ecore_x_default_depth_get(Ecore_X_Display *disp EINA_UNUSED, Ecore_X_Screen *screen)
{
xcb_screen_t *s;
@ -1507,7 +1507,7 @@ _ecore_xcb_shutdown(Eina_Bool close_display)
}
static Eina_Bool
_ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr __UNUSED__)
_ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED)
{
xcb_connection_t *conn;
xcb_generic_event_t *ev = NULL;
@ -1548,7 +1548,7 @@ _ecore_xcb_fd_handle(void *data, Ecore_Fd_Handler *hdlr __UNUSED__)
}
static Eina_Bool
_ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr __UNUSED__)
_ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED)
{
xcb_connection_t *conn;
xcb_generic_event_t *ev = NULL;
@ -1573,7 +1573,7 @@ _ecore_xcb_fd_handle_buff(void *data, Ecore_Fd_Handler *hdlr __UNUSED__)
}
static Eina_Bool
_ecore_xcb_idle_enter(void *data __UNUSED__)
_ecore_xcb_idle_enter(void *data EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
CHECK_XCB_CONN;

View File

@ -12,13 +12,13 @@ typedef struct _Version_Cache_Item
} Version_Cache_Item;
/* local function prototypes */
static Eina_Bool _ecore_xcb_dnd_converter_copy(char *target __UNUSED__,
static Eina_Bool _ecore_xcb_dnd_converter_copy(char *target EINA_UNUSED,
void *data,
int size,
void **data_ret,
int *size_ret,
Ecore_X_Atom *tprop __UNUSED__,
int *count __UNUSED__);
Ecore_X_Atom *tprop EINA_UNUSED,
int *count EINA_UNUSED);
/* local variables */
static int _ecore_xcb_dnd_init_count = 0;
@ -643,13 +643,13 @@ ecore_x_dnd_source_action_get(void)
/* local functions */
static Eina_Bool
_ecore_xcb_dnd_converter_copy(char *target __UNUSED__,
_ecore_xcb_dnd_converter_copy(char *target EINA_UNUSED,
void *data,
int size,
void **data_ret,
int *size_ret,
Ecore_X_Atom *tprop __UNUSED__,
int *count __UNUSED__)
Ecore_X_Atom *tprop EINA_UNUSED,
int *count EINA_UNUSED)
{
Ecore_Xcb_Textproperty text_prop;
Ecore_Xcb_Encoding_Style style = XcbTextStyle;

View File

@ -95,20 +95,20 @@ static void _ecore_xcb_event_handle_shape_change(xcb_generic
#endif
static void _ecore_xcb_event_handle_sync_counter(xcb_generic_event_t *event);
static void _ecore_xcb_event_handle_sync_alarm(xcb_generic_event_t *event);
static void _ecore_xcb_event_handle_xfixes_selection_notify(xcb_generic_event_t *event __UNUSED__);
static void _ecore_xcb_event_handle_xfixes_selection_notify(xcb_generic_event_t *event EINA_UNUSED);
static void _ecore_xcb_event_handle_xfixes_cursor_notify(xcb_generic_event_t *event);
static void _ecore_xcb_event_handle_generic_event(xcb_generic_event_t *event);
static void _ecore_xcb_event_handle_input_event(xcb_generic_event_t *event);
static void _ecore_xcb_event_key_press(xcb_generic_event_t *event);
static void _ecore_xcb_event_key_release(xcb_generic_event_t *event);
static void _ecore_xcb_event_mouse_move_free(void *data __UNUSED__,
static void _ecore_xcb_event_mouse_move_free(void *data EINA_UNUSED,
void *event);
static Ecore_X_Event_Mode _ecore_xcb_event_mode_get(uint8_t mode);
static Ecore_X_Event_Detail _ecore_xcb_event_detail_get(uint8_t detail);
static void _ecore_xcb_event_xdnd_enter_free(void *data __UNUSED__,
static void _ecore_xcb_event_xdnd_enter_free(void *data EINA_UNUSED,
void *event);
static void _ecore_xcb_event_selection_notify_free(void *data __UNUSED__,
static void _ecore_xcb_event_selection_notify_free(void *data EINA_UNUSED,
void *event);
static void _ecore_xcb_event_generic_event_free(void *data,
void *event);
@ -849,7 +849,7 @@ _ecore_xcb_event_handle_leave_notify(xcb_generic_event_t *event)
}
static void
_ecore_xcb_event_handle_keymap_notify(xcb_generic_event_t *event __UNUSED__)
_ecore_xcb_event_handle_keymap_notify(xcb_generic_event_t *event EINA_UNUSED)
{
// LOGFN(__FILE__, __LINE__, __FUNCTION__);
@ -1148,7 +1148,7 @@ _ecore_xcb_event_handle_configure_request(xcb_generic_event_t *event)
}
static void
_ecore_xcb_event_handle_gravity_notify(xcb_generic_event_t *event __UNUSED__)
_ecore_xcb_event_handle_gravity_notify(xcb_generic_event_t *event EINA_UNUSED)
{
/*
xcb_gravity_notify_event_t *ev;
@ -2298,7 +2298,7 @@ _ecore_xcb_event_handle_xfixes_selection_notify(xcb_generic_event_t *event)
}
static void
_ecore_xcb_event_handle_xfixes_cursor_notify(xcb_generic_event_t *event __UNUSED__)
_ecore_xcb_event_handle_xfixes_cursor_notify(xcb_generic_event_t *event EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
// FIXME: TBD
@ -2550,7 +2550,7 @@ _ecore_xcb_event_mouse_move(uint16_t timestamp,
}
static void
_ecore_xcb_event_mouse_move_free(void *data __UNUSED__,
_ecore_xcb_event_mouse_move_free(void *data EINA_UNUSED,
void *event)
{
Ecore_Event_Mouse_Move *ev;
@ -2749,7 +2749,7 @@ _ecore_xcb_event_detail_get(uint8_t detail)
}
static void
_ecore_xcb_event_xdnd_enter_free(void *data __UNUSED__,
_ecore_xcb_event_xdnd_enter_free(void *data EINA_UNUSED,
void *event)
{
Ecore_X_Event_Xdnd_Enter *e;
@ -2763,7 +2763,7 @@ _ecore_xcb_event_xdnd_enter_free(void *data __UNUSED__,
}
static void
_ecore_xcb_event_selection_notify_free(void *data __UNUSED__,
_ecore_xcb_event_selection_notify_free(void *data EINA_UNUSED,
void *event)
{
Ecore_X_Event_Selection_Notify *e;

View File

@ -70,8 +70,8 @@ ecore_x_gesture_events_select(Ecore_X_Window win,
Ecore_X_Gesture_Event_Mask mask)
#else
EAPI Eina_Bool
ecore_x_gesture_events_select(Ecore_X_Window win __UNUSED__,
Ecore_X_Gesture_Event_Mask mask __UNUSED__)
ecore_x_gesture_events_select(Ecore_X_Window win EINA_UNUSED,
Ecore_X_Gesture_Event_Mask mask EINA_UNUSED)
#endif
{
@ -94,7 +94,7 @@ EAPI Ecore_X_Gesture_Event_Mask
ecore_x_gesture_events_selected_get(Ecore_X_Window win)
#else
EAPI Ecore_X_Gesture_Event_Mask
ecore_x_gesture_events_selected_get(Ecore_X_Window win __UNUSED__)
ecore_x_gesture_events_selected_get(Ecore_X_Window win EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XGESTURE
@ -129,9 +129,9 @@ ecore_x_gesture_event_grab(Ecore_X_Window win,
int num_fingers)
#else
EAPI Eina_Bool
ecore_x_gesture_event_grab(Ecore_X_Window win __UNUSED__,
Ecore_X_Gesture_Event_Type type __UNUSED__,
int num_fingers __UNUSED__)
ecore_x_gesture_event_grab(Ecore_X_Window win EINA_UNUSED,
Ecore_X_Gesture_Event_Type type EINA_UNUSED,
int num_fingers EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XGESTURE
@ -169,9 +169,9 @@ ecore_x_gesture_event_ungrab(Ecore_X_Window win,
int num_fingers)
#else
EAPI Eina_Bool
ecore_x_gesture_event_ungrab(Ecore_X_Window win __UNUSED__,
Ecore_X_Gesture_Event_Type type __UNUSED__,
int num_fingers __UNUSED__)
ecore_x_gesture_event_ungrab(Ecore_X_Window win EINA_UNUSED,
Ecore_X_Gesture_Event_Type type EINA_UNUSED,
int num_fingers EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XGESTURE

View File

@ -80,7 +80,7 @@ void
#ifdef ECORE_XCB_XINPUT
_ecore_xcb_input_handle_event(xcb_generic_event_t *event)
#else
_ecore_xcb_input_handle_event(xcb_generic_event_t * event __UNUSED__)
_ecore_xcb_input_handle_event(xcb_generic_event_t * event EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XINPUT

View File

@ -1359,16 +1359,16 @@ ecore_x_netwm_allowed_action_set(Ecore_X_Window win,
/* local functions */
int
_ecore_xcb_netwm_startup_info_begin(Ecore_X_Window win __UNUSED__,
uint8_t data __UNUSED__)
_ecore_xcb_netwm_startup_info_begin(Ecore_X_Window win EINA_UNUSED,
uint8_t data EINA_UNUSED)
{
// TODO: TBD
return 1;
}
int
_ecore_xcb_netwm_startup_info(Ecore_X_Window win __UNUSED__,
uint8_t data __UNUSED__)
_ecore_xcb_netwm_startup_info(Ecore_X_Window win EINA_UNUSED,
uint8_t data EINA_UNUSED)
{
// TODO: TBD
return 1;

View File

@ -196,7 +196,7 @@ static Eina_Bool
#ifdef ECORE_XCB_RANDR
_ecore_xcb_randr_root_validate(Ecore_X_Window root)
#else
_ecore_xcb_randr_root_validate(Ecore_X_Window root __UNUSED__)
_ecore_xcb_randr_root_validate(Ecore_X_Window root EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_RANDR

View File

@ -4,18 +4,18 @@
#define ECORE_XCB_SELECTION_DATA(x) ((Ecore_X_Selection_Data *)(x))
/* local function prototypes */
static void *_ecore_xcb_selection_parser_text(const char *target __UNUSED__,
static void *_ecore_xcb_selection_parser_text(const char *target EINA_UNUSED,
void *data,
int size,
int format __UNUSED__);
int format EINA_UNUSED);
static void *_ecore_xcb_selection_parser_files(const char *target,
void *data,
int size,
int format __UNUSED__);
static void *_ecore_xcb_selection_parser_targets(const char *target __UNUSED__,
int format EINA_UNUSED);
static void *_ecore_xcb_selection_parser_targets(const char *target EINA_UNUSED,
void *data,
int size,
int format __UNUSED__);
int format EINA_UNUSED);
//static int _ecore_xcb_selection_data_free(void *data);
static int _ecore_xcb_selection_data_text_free(void *data);
@ -671,8 +671,8 @@ ecore_x_selection_converter_text(char *target,
int size,
void **data_ret,
int *size_ret,
Ecore_X_Atom *type __UNUSED__,
int *size_type __UNUSED__)
Ecore_X_Atom *type EINA_UNUSED,
int *size_type EINA_UNUSED)
{
Ecore_Xcb_Encoding_Style style;
Ecore_Xcb_Textproperty ret;
@ -732,10 +732,10 @@ ecore_x_selection_converter_text(char *target,
}
static void *
_ecore_xcb_selection_parser_text(const char *target __UNUSED__,
_ecore_xcb_selection_parser_text(const char *target EINA_UNUSED,
void *data,
int size,
int format __UNUSED__)
int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Text *sel;
unsigned char *_data;
@ -772,7 +772,7 @@ static void *
_ecore_xcb_selection_parser_files(const char *target,
void *data,
int size,
int format __UNUSED__)
int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Files *sel;
char *_data, *tmp, *t, **t2;
@ -858,10 +858,10 @@ _ecore_xcb_selection_parser_files(const char *target,
}
static void *
_ecore_xcb_selection_parser_targets(const char *target __UNUSED__,
_ecore_xcb_selection_parser_targets(const char *target EINA_UNUSED,
void *data,
int size,
int format __UNUSED__)
int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Targets *sel;
unsigned long *targets;

View File

@ -86,16 +86,16 @@ static Eina_Bool _ecore_xcb_dri_link(void);
static Eina_Bool _ecore_xcb_dri_start(void);
static void _ecore_xcb_dri_shutdown(void);
static Eina_Bool _ecore_xcb_dri_cb(void *data __UNUSED__,
Ecore_Fd_Handler *fdh __UNUSED__);
static void _ecore_xcb_dri_tick_begin(void *data __UNUSED__);
static void _ecore_xcb_dri_tick_end(void *data __UNUSED__);
static Eina_Bool _ecore_xcb_dri_cb(void *data EINA_UNUSED,
Ecore_Fd_Handler *fdh EINA_UNUSED);
static void _ecore_xcb_dri_tick_begin(void *data EINA_UNUSED);
static void _ecore_xcb_dri_tick_end(void *data EINA_UNUSED);
static void _ecore_xcb_dri_tick_schedule(void);
static void _ecore_xcb_dri_vblank_handler(int fd __UNUSED__,
unsigned int frame __UNUSED__,
unsigned int sec __UNUSED__,
unsigned int usec __UNUSED__,
void *data __UNUSED__);
static void _ecore_xcb_dri_vblank_handler(int fd EINA_UNUSED,
unsigned int frame EINA_UNUSED,
unsigned int sec EINA_UNUSED,
unsigned int usec EINA_UNUSED,
void *data EINA_UNUSED);
/* local variables */
static Ecore_X_Window _vsync_root = 0;
@ -326,22 +326,22 @@ _ecore_xcb_dri_shutdown(void)
}
static Eina_Bool
_ecore_xcb_dri_cb(void *data __UNUSED__,
Ecore_Fd_Handler *fdh __UNUSED__)
_ecore_xcb_dri_cb(void *data EINA_UNUSED,
Ecore_Fd_Handler *fdh EINA_UNUSED)
{
sym_drmHandleEvent(_drm_fd, &_drm_evctx);
return ECORE_CALLBACK_RENEW;
}
static void
_ecore_xcb_dri_tick_begin(void *data __UNUSED__)
_ecore_xcb_dri_tick_begin(void *data EINA_UNUSED)
{
_drm_event_busy = EINA_TRUE;
_ecore_xcb_dri_tick_schedule();
}
static void
_ecore_xcb_dri_tick_end(void *data __UNUSED__)
_ecore_xcb_dri_tick_end(void *data EINA_UNUSED)
{
_drm_event_busy = EINA_FALSE;
}
@ -362,11 +362,11 @@ _ecore_xcb_dri_tick_schedule(void)
}
static void
_ecore_xcb_dri_vblank_handler(int fd __UNUSED__,
unsigned int frame __UNUSED__,
unsigned int sec __UNUSED__,
unsigned int usec __UNUSED__,
void *data __UNUSED__)
_ecore_xcb_dri_vblank_handler(int fd EINA_UNUSED,
unsigned int frame EINA_UNUSED,
unsigned int sec EINA_UNUSED,
unsigned int usec EINA_UNUSED,
void *data EINA_UNUSED)
{
ecore_animator_custom_tick();
if (_drm_event_busy) _ecore_xcb_dri_tick_schedule();

View File

@ -783,7 +783,7 @@ ecore_x_window_focus(Ecore_X_Window win)
*/
EAPI void
ecore_x_window_focus_at_time(Ecore_X_Window win,
Ecore_X_Time time __UNUSED__)
Ecore_X_Time time EINA_UNUSED)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
CHECK_XCB_CONN;

View File

@ -372,7 +372,7 @@ ecore_x_window_shadow_tree_at_xy_with_skip_get(Ecore_X_Window base,
* @ingroup Ecore_X_Window_Geometry_Group
*/
EAPI Ecore_X_Window
ecore_x_window_shadow_parent_get(Ecore_X_Window root __UNUSED__,
ecore_x_window_shadow_parent_get(Ecore_X_Window root EINA_UNUSED,
Ecore_X_Window win)
{
Shadow *s;

View File

@ -37,7 +37,7 @@ EAPI Eina_Bool
#ifdef ECORE_XCB_XTEST
ecore_x_test_fake_key_down(const char *key)
#else
ecore_x_test_fake_key_down(const char *key __UNUSED__)
ecore_x_test_fake_key_down(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XTEST
@ -75,7 +75,7 @@ EAPI Eina_Bool
#ifdef ECORE_XCB_XTEST
ecore_x_test_fake_key_up(const char *key)
#else
ecore_x_test_fake_key_up(const char *key __UNUSED__)
ecore_x_test_fake_key_up(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XTEST
@ -113,7 +113,7 @@ EAPI Eina_Bool
#ifdef ECORE_XCB_XTEST
ecore_x_test_fake_key_press(const char *key)
#else
ecore_x_test_fake_key_press(const char *key __UNUSED__)
ecore_x_test_fake_key_press(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XCB_XTEST

View File

@ -1066,7 +1066,7 @@ ecore_x_bell(int percent)
static Eina_Bool
_ecore_x_fd_handler(void *data,
Ecore_Fd_Handler *fd_handler __UNUSED__)
Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Display *d;
@ -1096,7 +1096,7 @@ _ecore_x_fd_handler(void *data,
static Eina_Bool
_ecore_x_fd_handler_buf(void *data,
Ecore_Fd_Handler *fd_handler __UNUSED__)
Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
Display *d;
@ -1295,7 +1295,7 @@ static void _ecore_x_window_manage_error(void *data);
static int _ecore_x_window_manage_failed = 0;
static void
_ecore_x_window_manage_error(void *data __UNUSED__)
_ecore_x_window_manage_error(void *data EINA_UNUSED)
{
if ((ecore_x_error_request_get() == X_ChangeWindowAttributes) &&
(ecore_x_error_code_get() == BadAccess))

View File

@ -88,13 +88,13 @@ _ecore_x_dnd_shutdown(void)
}
static Eina_Bool
_ecore_x_dnd_converter_copy(char *target __UNUSED__,
_ecore_x_dnd_converter_copy(char *target EINA_UNUSED,
void *data,
int size,
void **data_ret,
int *size_ret,
Ecore_X_Atom *tprop __UNUSED__,
int *count __UNUSED__)
Ecore_X_Atom *tprop EINA_UNUSED,
int *count EINA_UNUSED)
{
XTextProperty text_prop;
char *mystr;

View File

@ -87,7 +87,7 @@ _ecore_x_mouse_down_info_get(int dev)
}
static void
_ecore_x_event_free_mouse_move(void *data __UNUSED__,
_ecore_x_event_free_mouse_move(void *data EINA_UNUSED,
void *ev)
{
Ecore_Event_Mouse_Move *e;
@ -137,7 +137,7 @@ ecore_x_event_mask_unset(Ecore_X_Window w,
}
static void
_ecore_x_event_free_xdnd_enter(void *data __UNUSED__,
_ecore_x_event_free_xdnd_enter(void *data EINA_UNUSED,
void *ev)
{
Ecore_X_Event_Xdnd_Enter *e;
@ -151,7 +151,7 @@ _ecore_x_event_free_xdnd_enter(void *data __UNUSED__,
}
static void
_ecore_x_event_free_selection_notify(void *data __UNUSED__,
_ecore_x_event_free_selection_notify(void *data EINA_UNUSED,
void *ev)
{
Ecore_X_Event_Selection_Notify *e;
@ -960,7 +960,7 @@ _ecore_x_event_handle_focus_out(XEvent *xevent)
}
void
_ecore_x_event_handle_keymap_notify(XEvent *xevent __UNUSED__)
_ecore_x_event_handle_keymap_notify(XEvent *xevent EINA_UNUSED)
{
_ecore_x_last_event_mouse_move = 0;
/* FIXME: handle this event type */
@ -1199,7 +1199,7 @@ _ecore_x_event_handle_configure_request(XEvent *xevent)
}
void
_ecore_x_event_handle_gravity_notify(XEvent *xevent __UNUSED__)
_ecore_x_event_handle_gravity_notify(XEvent *xevent EINA_UNUSED)
{
_ecore_x_last_event_mouse_move = 0;
/* FIXME: handle this event type */

View File

@ -43,8 +43,8 @@ static int _ecore_x_image_shm_can = -1;
static int _ecore_x_image_err = 0;
static int
_ecore_x_image_error_handler(Display *d __UNUSED__,
XErrorEvent *ev __UNUSED__)
_ecore_x_image_error_handler(Display *d EINA_UNUSED,
XErrorEvent *ev EINA_UNUSED)
{
_ecore_x_image_err = 1;
return 0;

View File

@ -1633,8 +1633,8 @@ ecore_x_netwm_moveresize_request_send(Ecore_X_Window win,
}
int
_ecore_x_netwm_startup_info_begin(Ecore_X_Window win __UNUSED__,
char *data __UNUSED__)
_ecore_x_netwm_startup_info_begin(Ecore_X_Window win EINA_UNUSED,
char *data EINA_UNUSED)
{
#if 0
Ecore_X_Startup_Info *info;
@ -1682,8 +1682,8 @@ _ecore_x_netwm_startup_info_begin(Ecore_X_Window win __UNUSED__,
}
int
_ecore_x_netwm_startup_info(Ecore_X_Window win __UNUSED__,
char *data __UNUSED__)
_ecore_x_netwm_startup_info(Ecore_X_Window win EINA_UNUSED,
char *data EINA_UNUSED)
{
#if 0
Ecore_X_Startup_Info *info;

View File

@ -607,8 +607,8 @@ ecore_x_selection_converter_text(char *target,
int size,
void **data_ret,
int *size_ret,
Ecore_X_Atom *targprop __UNUSED__,
int *s __UNUSED__)
Ecore_X_Atom *targprop EINA_UNUSED,
int *s EINA_UNUSED)
{
XTextProperty text_prop;
char *mystr;
@ -820,7 +820,7 @@ static void *
_ecore_x_selection_parser_files(const char *target,
void *_data,
int size,
int format __UNUSED__)
int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Files *sel;
char *t, *data = _data;
@ -924,10 +924,10 @@ _ecore_x_selection_data_files_free(void *data)
}
static void *
_ecore_x_selection_parser_text(const char *target __UNUSED__,
_ecore_x_selection_parser_text(const char *target EINA_UNUSED,
void *_data,
int size,
int format __UNUSED__)
int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Text *sel;
unsigned char *data = _data;
@ -969,10 +969,10 @@ _ecore_x_selection_data_text_free(void *data)
}
static void *
_ecore_x_selection_parser_targets(const char *target __UNUSED__,
_ecore_x_selection_parser_targets(const char *target EINA_UNUSED,
void *data,
int size,
int format __UNUSED__)
int format EINA_UNUSED)
{
Ecore_X_Selection_Data_Targets *sel;
unsigned long *targets;

View File

@ -16,7 +16,7 @@ EAPI Eina_Bool
#ifdef ECORE_XTEST
ecore_x_test_fake_key_down(const char *key)
#else
ecore_x_test_fake_key_down(const char *key __UNUSED__)
ecore_x_test_fake_key_down(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XTEST
@ -48,7 +48,7 @@ EAPI Eina_Bool
#ifdef ECORE_XTEST
ecore_x_test_fake_key_up(const char *key)
#else
ecore_x_test_fake_key_up(const char *key __UNUSED__)
ecore_x_test_fake_key_up(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XTEST
@ -80,7 +80,7 @@ EAPI Eina_Bool
#ifdef ECORE_XTEST
ecore_x_test_fake_key_press(const char *key)
#else
ecore_x_test_fake_key_press(const char *key __UNUSED__)
ecore_x_test_fake_key_press(const char *key EINA_UNUSED)
#endif
{
#ifdef ECORE_XTEST

View File

@ -129,32 +129,32 @@ _dri_drm_tick_schedule(void)
}
static void
_dri_drm_tick_begin(void *data __UNUSED__)
_dri_drm_tick_begin(void *data EINA_UNUSED)
{
drm_event_is_busy = 1;
_dri_drm_tick_schedule();
}
static void
_dri_drm_tick_end(void *data __UNUSED__)
_dri_drm_tick_end(void *data EINA_UNUSED)
{
drm_event_is_busy = 0;
}
static void
_dri_drm_vblank_handler(int fd __UNUSED__,
unsigned int frame __UNUSED__,
unsigned int sec __UNUSED__,
unsigned int usec __UNUSED__,
void *data __UNUSED__)
_dri_drm_vblank_handler(int fd EINA_UNUSED,
unsigned int frame EINA_UNUSED,
unsigned int sec EINA_UNUSED,
unsigned int usec EINA_UNUSED,
void *data EINA_UNUSED)
{
ecore_animator_custom_tick();
if (drm_event_is_busy) _dri_drm_tick_schedule();
}
static Eina_Bool
_dri_drm_cb(void *data __UNUSED__,
Ecore_Fd_Handler *fd_handler __UNUSED__)
_dri_drm_cb(void *data EINA_UNUSED,
Ecore_Fd_Handler *fd_handler EINA_UNUSED)
{
sym_drmHandleEvent(drm_fd, &drm_evctx);
return ECORE_CALLBACK_RENEW;

View File

@ -1204,7 +1204,7 @@ ecore_x_window_shadow_tree_at_xy_with_skip_get(Ecore_X_Window base,
* @ingroup Ecore_X_Window_Geometry_Group
*/
EAPI Ecore_X_Window
ecore_x_window_shadow_parent_get(Ecore_X_Window root __UNUSED__,
ecore_x_window_shadow_parent_get(Ecore_X_Window root EINA_UNUSED,
Ecore_X_Window win)
{
Shadow *s;

View File

@ -503,7 +503,7 @@ EAPI int
ecore_x_window_prop_property_get(Ecore_X_Window win,
Ecore_X_Atom property,
Ecore_X_Atom type,
int size __UNUSED__,
int size EINA_UNUSED,
unsigned char **data,
int *num)
{