X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_mount.h;h=0a5c980f39be58cd87df3d06667e220677d788af;hb=141816828389e3ad98f66db29b4a702479dcb05d;hp=7518188dee7e048793802fac33f6824a90d3e434;hpb=3d7453f6c3a13dc49e9ed6dd6d7a19202a3b087e;p=collectd.git diff --git a/src/utils_mount.h b/src/utils_mount.h index 7518188d..0a5c980f 100644 --- a/src/utils_mount.h +++ b/src/utils_mount.h @@ -113,7 +113,7 @@ void cu_mount_freelist(cu_mount_t *list); allocated by *list and *list itself as well. */ -char *cu_mount_checkoption(char *line, char *keyword, int full); +char *cu_mount_checkoption(char *line, const char *keyword, int full); /* DESCRIPTION The cu_mount_checkoption() function is a replacement of @@ -153,7 +153,7 @@ char *cu_mount_checkoption(char *line, char *keyword, int full); maybe you might want to try cu_mount_getoptionvalue()... */ -char *cu_mount_getoptionvalue(char *line, char *keyword); +char *cu_mount_getoptionvalue(char *line, const char *keyword); /* DESCRIPTION The cu_mount_getoptionvalue() function can be used to grab