From: Simon Marchi Date: Mon, 25 Nov 2019 20:35:54 +0000 (-0500) Subject: Make validate_url_option_combination static in create.c X-Git-Tag: v2.12.0-rc1~201 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7b3f7be251130172712e02262d413e90f3252978;p=lttng-tools.git Make validate_url_option_combination static in create.c Fixes: CC commands/lttng-create.o /home/smarchi/src/lttng-tools/src/bin/lttng/commands/create.c:640:5: error: no previous declaration for ‘validate_url_option_combination’ [-Werror=missing-declarations] int validate_url_option_combination(void) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Simon Marchi Change-Id: I091b875fb93d4214c47a1c229e6360ec02a0a2f8 Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index 438e88f4c..10e5ffdbc 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -637,6 +637,7 @@ end: return ret; } +static int validate_url_option_combination(void) { int ret = 0;