From: cedric Date: Tue, 9 Dec 2008 17:55:33 +0000 (+0000) Subject: Better put pointer at the beginning of the structure. X-Git-Tag: submit/trunk/20120815.174732~3551 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=482f375ee40267c448c3a45d4f0510e88bc5cefc;p=profile%2Fivi%2Fevas.git Better put pointer at the beginning of the structure. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38065 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_async_events.c b/src/lib/canvas/evas_async_events.c index e928d74..bba7072 100644 --- a/src/lib/canvas/evas_async_events.c +++ b/src/lib/canvas/evas_async_events.c @@ -17,10 +17,10 @@ static pthread_mutex_t _mutex = PTHREAD_MUTEX_INITIALIZER; typedef struct _Evas_Event_Async Evas_Event_Async; struct _Evas_Event_Async { - void (*func)(void *target, Evas_Callback_Type type, void *event_info); const void *target; - Evas_Callback_Type type; void *event_info; + void (*func)(void *target, Evas_Callback_Type type, void *event_info); + Evas_Callback_Type type; }; #endif @@ -129,7 +129,7 @@ evas_async_events_put(const void *target, Evas_Callback_Type type, void *event_i #ifdef BUILD_ASYNC_EVENTS Evas_Event_Async new; ssize_t check; - int offset = 0; + int offset = 0; Evas_Bool result = 0; if (!func) return 0;