Browse Source

fix: use same argument name in arg_end declaration and definition

Issue raised by clang-tidy
pull/75/head
Ivan Grokhotkov 3 years ago
parent
commit
9fc66fb5af
No known key found for this signature in database GPG Key ID: 1E050E141B280628
  1. 2
      src/argtable3.h

2
src/argtable3.h

@ -210,7 +210,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_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_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_STATIC ((arg_dstr_freefn*)0)
#define ARG_DSTR_VOLATILE ((arg_dstr_freefn*)1) #define ARG_DSTR_VOLATILE ((arg_dstr_freefn*)1)

Loading…
Cancel
Save