eina: fix wrong EINA_ARG_NONNULL
This fixes the following error: CC libeina_la-eina_error.lo CC libeina_la-eina_log.lo In file included from ../../src/include/eina_safety_checks.h:69, from eina_error.c:150: ../../src/include/eina_error.h:53: error: nonnull argument references non-pointer operand (argument 1, operand 1) make[3]: *** [libeina_la-eina_error.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ../../src/include/eina_safety_checks.h:69, from eina_log.c:287: ../../src/include/eina_error.h:53: error: nonnull argument references non-pointer operand (argument 1, operand 1) make[3]: *** [libeina_la-eina_log.lo] Error 1 make[3]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina' make: *** [all] Error 2 Patch by: Marc Andre Tanner <mat@brain-dump.org> SVN revision: 52947
This commit is contained in:
parent
1e45be0a72
commit
431685d37a
|
@ -50,7 +50,7 @@ EAPI extern Eina_Error EINA_ERROR_OUT_OF_MEMORY;
|
|||
EAPI Eina_Error eina_error_msg_register(const char *msg) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
|
||||
EAPI Eina_Error eina_error_msg_static_register(const char *msg) EINA_ARG_NONNULL(1) EINA_WARN_UNUSED_RESULT;
|
||||
EAPI Eina_Bool eina_error_msg_modify(Eina_Error error,
|
||||
const char *msg) EINA_ARG_NONNULL(1, 2);
|
||||
const char *msg) EINA_ARG_NONNULL(2);
|
||||
EAPI Eina_Error eina_error_get(void);
|
||||
EAPI void eina_error_set(Eina_Error err);
|
||||
EAPI const char * eina_error_msg_get(Eina_Error error) EINA_PURE;
|
||||
|
|
Loading…
Reference in New Issue