From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> The function start_threads() is only used by trace-record.c, no reason that it is not a static function. Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> --- tracecmd/trace-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracecmd/trace-record.c b/tracecmd/trace-record.c index 27c4e7ba6f3f..a22935263625 100644 --- a/tracecmd/trace-record.c +++ b/tracecmd/trace-record.c @@ -4187,7 +4187,7 @@ static void setup_agent(struct buffer_instance *instance, instance->network_handle = network_handle; } -void start_threads(enum trace_type type, struct common_record_context *ctx) +static void start_threads(enum trace_type type, struct common_record_context *ctx) { struct buffer_instance *instance; int total_cpu_count = 0; -- 2.35.1