From: Mathieu Desnoyers Date: Wed, 26 Nov 2014 17:43:54 +0000 (-0500) Subject: Cleanup: test_utils_expand_path.c prototypes X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1661351d4b89cad297122e8a4fe59d713ed3fda7;p=lttng-tools.git Cleanup: test_utils_expand_path.c prototypes Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- diff --git a/tests/unit/test_utils_expand_path.c b/tests/unit/test_utils_expand_path.c index e32f37753..1224a5cbb 100644 --- a/tests/unit/test_utils_expand_path.c +++ b/tests/unit/test_utils_expand_path.c @@ -128,7 +128,7 @@ static void printerr(char *msg) fprintf(stderr, "test_utils_expand_path: error: %s\n", msg); } -int prepare_valid_results() +int prepare_valid_results(void) { int i; char *relative, *cur_path = NULL, *prev_path = NULL, @@ -184,7 +184,7 @@ end: return ret; } -int free_valid_results() +int free_valid_results(void) { int i; @@ -197,7 +197,7 @@ int free_valid_results() return 0; } -int prepare_symlink_tree() +int prepare_symlink_tree(void) { int i; char tmppath[PATH_MAX]; @@ -238,7 +238,7 @@ error: return 1; } -int free_symlink_tree() +int free_symlink_tree(void) { int i; char tmppath[PATH_MAX];