summaryrefslogtreecommitdiff
path: root/tests/suite
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-06-27 13:27:39 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-06-27 13:27:39 +0200
commit26741fcc30e8a4a234e31930550f05ed8abadd89 (patch)
tree49c84901c6fac9049ff66120066062356f821a52 /tests/suite
parent34786a9f70aba016d0064bf6701e1850cd07e47d (diff)
downloadgnutls-26741fcc30e8a4a234e31930550f05ed8abadd89.tar.gz
tests: eliminated compiler warnings
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/suite')
-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;