forked from enlightenment/efl
* evas/m4/ac_attribute.m4,
* evas/src/lib/canvas/evas_async_events.c: Fix long standing warning from valgrind. SVN revision: 38996
This commit is contained in:
parent
6f2cb19f03
commit
166c76146d
|
@ -39,8 +39,9 @@ AC_MSG_RESULT($ac_cv___attribute__)
|
|||
if test "x${ac_cv___attribute__}" = "xyes" ; then
|
||||
AC_DEFINE([HAVE___ATTRIBUTE__], [1], [Define to 1 if your compiler has __attribute__])
|
||||
AC_DEFINE([__UNUSED__], [__attribute__((unused))], [Macro declaring a function argument to be unused])
|
||||
AC_DEFINE([__PACKED__], [__attribute__((packed))], [Macro declaring a function argument to be unused])
|
||||
else
|
||||
AC_DEFINE([__UNUSED__], [], [Macro declaring a function argument to be unused])
|
||||
AC_DEFINE([__PACKED__], [], [Macro declaring a function argument to be unused])
|
||||
fi
|
||||
|
||||
])
|
||||
|
|
|
@ -21,7 +21,7 @@ struct _Evas_Event_Async
|
|||
void *event_info;
|
||||
void (*func)(void *target, Evas_Callback_Type type, void *event_info);
|
||||
Evas_Callback_Type type;
|
||||
};
|
||||
} __PACKED__ ;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue