X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_subst.h;h=7807555cc09f3a5c52703a0668a99a7f3620894e;hb=711f5b6c86f51061c21bedcaa46214a01de0125c;hp=a10b258902d3e4b0c61c34b30e3049508e415a34;hpb=a6f29de68fe19614b0aa90e920e99d72cb0f4468;p=collectd.git diff --git a/src/daemon/utils_subst.h b/src/daemon/utils_subst.h index a10b2589..7807555c 100644 --- a/src/daemon/utils_subst.h +++ b/src/daemon/utils_subst.h @@ -70,17 +70,6 @@ char *subst(char *buf, size_t buflen, const char *string, size_t off1, size_t off2, const char *replacement); /* - * asubst: - * - * This function is very similar to subst(). It differs in that it - * automatically allocates the memory required for the return value which the - * user then has to free himself. - * - * Returns the newly allocated result string on success, NULL else. - */ -char *asubst(const char *string, int off1, int off2, const char *replacement); - -/* * subst_string: * * Works like `subst', but instead of specifying start and end offsets you