This argument is not being used inside the function (and the functions themselves are unused as well) and not documented. Its purpose is not clear. Just remove it. --- include/import/ist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/import/ist.h b/include/import/ist.h index 1262e8f59..5318a0349 100644 --- a/include/import/ist.h +++ b/include/import/ist.h @@ -529,7 +529,7 @@ static inline struct ist ist2bin(char *dst, const struct ist src) * already been checked. An ist made of the output and its length (not counting * the trailing zero) are returned. */ -static inline struct ist ist2str(char *dst, const struct ist src, size_t count) +static inline struct ist ist2str(char *dst, const struct ist src) { size_t ofs = 0; @@ -574,7 +574,7 @@ static inline struct ist ist2bin_lc(char *dst, const struct ist src) * the frame length has already been checked. An ist made of the output and its * length (not counting the trailing zero) are returned. */ -static inline struct ist ist2str_lc(char *dst, const struct ist src, size_t count) +static inline struct ist ist2str_lc(char *dst, const struct ist src) { size_t ofs = 0; @@ -619,7 +619,7 @@ static inline struct ist ist2bin_uc(char *dst, const struct ist src) * the frame length has already been checked. An ist made of the output and its * length (not counting the trailing zero) are returned. */ -static inline struct ist ist2str_uc(char *dst, const struct ist src, size_t count) +static inline struct ist ist2str_uc(char *dst, const struct ist src) { size_t ofs = 0; -- 2.31.1