From: Enlightenment S. <no-...@en...> - 2011-11-17 11:16:01
|
Log: eina: shutup warning when thread are disabled. Author: cedric Date: 2011-11-17 03:15:54 -0800 (Thu, 17 Nov 2011) New Revision: 65339 Trac: http://trac.enlightenment.org/e/changeset/65339 Modified: trunk/eina/src/include/eina_inline_lock_void.x Modified: trunk/eina/src/include/eina_inline_lock_void.x =================================================================== --- trunk/eina/src/include/eina_inline_lock_void.x 2011-11-17 11:14:04 UTC (rev 65338) +++ trunk/eina/src/include/eina_inline_lock_void.x 2011-11-17 11:15:54 UTC (rev 65339) @@ -216,25 +216,25 @@ return EINA_LOCK_FAIL; } -static inline Eina_Bool -eina_tls_new(Eina_TLS *key) +static inline Eina_Bool +eina_tls_new(Eina_TLS *key EINA_UNUSED) { return EINA_FALSE; } -static inline void -eina_tls_free(Eina_TLS key) +static inline void +eina_tls_free(Eina_TLS key EINA_UNUSED) { } static inline void * -eina_tls_get(Eina_TLS key) +eina_tls_get(Eina_TLS key EINA_UNUSED) { return NULL; } -static inline Eina_Bool -eina_tls_set(Eina_TLS key, const void *data) +static inline Eina_Bool +eina_tls_set(Eina_TLS key EINA_UNUSED, const void *data EINA_UNUSED) { return EINA_FALSE; } |