From: Ruben Kerkhof Date: Tue, 1 Mar 2016 11:18:14 +0000 (+0100) Subject: Fix prototype of subst() X-Git-Tag: collectd-5.6.0~461 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=160fb4929496d00c3190be9e2c01bc16062cabf0;p=collectd.git Fix prototype of subst() Commit e1b93f5 changed the signature of this function, but not the prototype. --- diff --git a/src/daemon/utils_subst.h b/src/daemon/utils_subst.h index 9085286a..50df9c7b 100644 --- a/src/daemon/utils_subst.h +++ b/src/daemon/utils_subst.h @@ -66,7 +66,7 @@ * * The function returns 'buf' on success, NULL else. */ -char *subst (char *buf, size_t buflen, const char *string, int off1, int off2, +char *subst (char *buf, size_t buflen, const char *string, size_t off1, size_t off2, const char *replacement); /*