diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-06-27 13:27:39 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-07-17 23:44:53 +0200 |
commit | 0b530596c50990ea98d1ddada56337c3d188be46 (patch) | |
tree | b7abd9bd6b4ca07786d27d2942f6f0cd4b09a070 | |
parent | f2d65e18c326f26a2dffb256cfaed7c4baeb752c (diff) | |
download | gnutls-0b530596c50990ea98d1ddada56337c3d188be46.tar.gz |
tests: eliminated compiler warnings
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | tests/suite/ecore/src/include/eina_module.h | 6 | ||||
-rw-r--r-- | tests/suite/mini-eagain2.c | 2 |
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; |