X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_mount.c;h=e430cc9c2f789b497f1904ed6008d6ad3f4b1fb7;hb=063e81d76677a3b52c5d8a1fbfbdf2bf87a75cee;hp=2cab4817604f513258d986faca491b5f31271186;hpb=0b7cd83a5e6bac068ea83a88a5ddcfb07c09fbec;p=collectd.git diff --git a/src/utils_mount.c b/src/utils_mount.c index 2cab4817..e430cc9c 100644 --- a/src/utils_mount.c +++ b/src/utils_mount.c @@ -519,7 +519,6 @@ static cu_mount_t *cu_mount_gen_getmntent(void) { return first; } /* static cu_mount_t *cu_mount_gen_getmntent (void) */ -/* #endif HAVE_TWO_GETMNTENT || HAVE_GEN_GETMNTENT || HAVE_SUN_GETMNTENT */ #elif HAVE_SEQ_GETMNTENT #warn "This version of `getmntent' hat not yet been implemented!" @@ -689,7 +688,7 @@ void cu_mount_freelist(cu_mount_t *list) { char *cu_mount_checkoption(char *line, const char *keyword, int full) { char *line2, *l2, *p1, *p2; - int l; + size_t l; if (line == NULL || keyword == NULL) { return NULL;