summaryrefslogtreecommitdiff
path: root/legacy/eina/src/include/eina_safety_checks.h
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-04-15 09:54:47 +0000
committerTom Hacohen <tom@stosb.com>2012-04-15 09:54:47 +0000
commit011fd3b1ce97b470439f32243bbc89c108afe872 (patch)
tree41be16d65b333abfd61fd8176a48c9f537d6c40e /legacy/eina/src/include/eina_safety_checks.h
parent36374f49a7237245ab6867e901979590c509591a (diff)
Eina: Fixed usage of gnu extension.
(idx, ## __VA_ARGS__) is a gnu extension, fixed to be (__VA_ARGS__). Should be fine this way. Less descriptive maybe, because now people will may think it's ok to pass 0 arguments, but there's no avoiding this. SVN revision: 70194
Diffstat (limited to '')
-rw-r--r--legacy/eina/src/include/eina_safety_checks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/eina/src/include/eina_safety_checks.h b/legacy/eina/src/include/eina_safety_checks.h
index a6d0106a4d..73ae1b295e 100644
--- a/legacy/eina/src/include/eina_safety_checks.h
+++ b/legacy/eina/src/include/eina_safety_checks.h
@@ -210,7 +210,7 @@ EAPI extern Eina_Error EINA_ERROR_SAFETY_FAILED;
210#ifdef EINA_ARG_NONNULL 210#ifdef EINA_ARG_NONNULL
211/* make EINA_ARG_NONNULL void so GCC does not optimize safety checks */ 211/* make EINA_ARG_NONNULL void so GCC does not optimize safety checks */
212#undef EINA_ARG_NONNULL 212#undef EINA_ARG_NONNULL
213#define EINA_ARG_NONNULL(idx, ...) 213#define EINA_ARG_NONNULL(...)
214#endif 214#endif
215 215
216#else /* no safety checks */ 216#else /* no safety checks */