summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8a7a47b)
raw | patch | inline | side by side (parent: 8a7a47b)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Mar 2016 21:55:21 +0000 (22:55 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Mar 2016 21:55:21 +0000 (22:55 +0100) |
src/utils_mount.c | patch | blob | history | |
src/utils_mount.h | patch | blob | history |
diff --git a/src/utils_mount.c b/src/utils_mount.c
index 014620c8c29fc014d95eba01b4d1a38983219fea..03f41ad843253c28bea94068526b1dbb30d2f759 100644 (file)
--- a/src/utils_mount.c
+++ b/src/utils_mount.c
} /* char *cu_mount_checkoption(char *line, char *keyword, int full) */
char *
-cu_mount_getoptionvalue(char *line, char *keyword)
+cu_mount_getoptionvalue(char *line, const char *keyword)
{
char *r;
}
}
return r;
-} /* char *cu_mount_getoptionvalue(char *line, char *keyword) */
+} /* char *cu_mount_getoptionvalue(char *line, const char *keyword) */
int
cu_mount_type(const char *type)
diff --git a/src/utils_mount.h b/src/utils_mount.h
index 78bb7334a374ce6ffa5177cad5f4f61a7be545cc..0a5c980f39be58cd87df3d06667e220677d788af 100644 (file)
--- a/src/utils_mount.h
+++ b/src/utils_mount.h
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