summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e16fd0)
raw | patch | inline | side by side (parent: 3e16fd0)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Mar 2016 13:10:53 +0000 (14:10 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Mar 2016 13:10:53 +0000 (14:10 +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 36d8d640b3176ca28e91680c8bd9c2db3eaf8bfd..014620c8c29fc014d95eba01b4d1a38983219fea 100644 (file)
--- a/src/utils_mount.c
+++ b/src/utils_mount.c
} /* void cu_mount_freelist(cu_mount_t *list) */
char *
-cu_mount_checkoption(char *line, char *keyword, int full)
+cu_mount_checkoption(char *line, const char *keyword, int full)
{
char *line2, *l2, *p1, *p2;
int l;
diff --git a/src/utils_mount.h b/src/utils_mount.h
index 7518188dee7e048793802fac33f6824a90d3e434..78bb7334a374ce6ffa5177cad5f4f61a7be545cc 100644 (file)
--- a/src/utils_mount.h
+++ b/src/utils_mount.h
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