From 5f7afd39806278ec919bf3d7ec182f8def32b0ac Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 5 Apr 2022 19:59:56 +0200 Subject: [PATCH] console: argtable3: sync arg_end argument name ...between declaration and definition, to silence clang-tidy warnings --- components/console/argtable3/argtable3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/console/argtable3/argtable3.h b/components/console/argtable3/argtable3.h index cbf15ec8f4..95715b1907 100644 --- a/components/console/argtable3/argtable3.h +++ b/components/console/argtable3/argtable3.h @@ -215,7 +215,7 @@ ARG_EXTERN struct arg_date* arg_date0(const char* shortopts, const char* longopt ARG_EXTERN struct arg_date* arg_date1(const char* shortopts, const char* longopts, const char* format, const char* datatype, const char* glossary); ARG_EXTERN struct arg_date* arg_daten(const char* shortopts, const char* longopts, const char* format, const char* datatype, int mincount, int maxcount, const char* glossary); -ARG_EXTERN struct arg_end* arg_end(int maxerrors); +ARG_EXTERN struct arg_end* arg_end(int maxcount); #define ARG_DSTR_STATIC ((arg_dstr_freefn*)0) #define ARG_DSTR_VOLATILE ((arg_dstr_freefn*)1)