summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/suite/ecore/src/include/eina_module.h6
-rw-r--r--tests/suite/mini-eagain2.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/suite/ecore/src/include/eina_module.h b/tests/suite/ecore/src/include/eina_module.h
index 4b856c8bf2..ac3df387a6 100644
--- a/tests/suite/ecore/src/include/eina_module.h
+++ b/tests/suite/ecore/src/include/eina_module.h
@@ -120,11 +120,9 @@ EAPI const char *eina_module_file_get(const Eina_Module * m)
EINA_PURE EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
EAPI char *eina_module_symbol_path_get(const void *symbol,
- const char *sub_dir)
-EINA_PURE EINA_MALLOC EINA_ARG_NONNULL(1, 2);
+ const char *sub_dir);
EAPI char *eina_module_environment_path_get(const char *env,
- const char *sub_dir)
-EINA_PURE EINA_MALLOC EINA_ARG_NONNULL(1, 2);
+ const char *sub_dir);
EAPI Eina_Array *eina_module_arch_list_get(Eina_Array * array,
const char *path,
diff --git a/tests/suite/mini-eagain2.c b/tests/suite/mini-eagain2.c
index cf0ea5ec4b..5b09622b7b 100644
--- a/tests/suite/mini-eagain2.c
+++ b/tests/suite/mini-eagain2.c
@@ -19,7 +19,7 @@
*/
-#define print(...) fprintf(stderr, "line %i: ", __LINE__); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n")
+#define print(...) {fprintf(stderr, "line %i: ", __LINE__); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n");}
static int done = 0;