From: Simon Marchi Date: Mon, 25 Nov 2019 21:29:04 +0000 (-0500) Subject: Make parse_arguments static in base_client.c X-Git-Tag: v2.13.0-rc1~743 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=53089c7cac36de845865cfb920f84725a1303c09;p=lttng-tools.git Make parse_arguments static in base_client.c Fixes: CC base_client.o /home/smarchi/src/lttng-tools/tests/regression/tools/notification/base_client.c:60:5: error: no previous declaration for ‘parse_arguments’ [-Werror=missing-declarations] int parse_arguments(char **argv) { ^~~~~~~~~~~~~~~ Signed-off-by: Simon Marchi Change-Id: I4e431009d6e174eaadd82d206f9bedde9efdd30b Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/notification/base_client.c b/tests/regression/tools/notification/base_client.c index fcef66c21..70ad763ab 100644 --- a/tests/regression/tools/notification/base_client.c +++ b/tests/regression/tools/notification/base_client.c @@ -42,7 +42,9 @@ int handle_condition( const struct lttng_condition *condition, const struct lttng_evaluation *condition_evaluation); -int parse_arguments(char **argv) { +static +int parse_arguments(char **argv) +{ const char *domain_type_string = NULL; const char *buffer_usage_type_string = NULL; const char *buffer_usage_threshold_type = NULL;