diff options
author | Ruediger Meier | 2016-02-22 23:30:17 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-02-23 03:18:09 +0100 |
commit | 5fde1d9f066ba794824ae6d8fa44462865a8f5cc (patch) | |
tree | 5b8997c70c0f566d0b06e5ac50592932eb07e6fd /libmount/src/optstr.c | |
parent | libfdisk: fix compiler warnings [-Wmissing-prototypes] (diff) | |
download | kernel-qcow2-util-linux-5fde1d9f066ba794824ae6d8fa44462865a8f5cc.tar.gz kernel-qcow2-util-linux-5fde1d9f066ba794824ae6d8fa44462865a8f5cc.tar.xz kernel-qcow2-util-linux-5fde1d9f066ba794824ae6d8fa44462865a8f5cc.zip |
tests: fix compiler warnings [-Wmissing-prototypes]
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libmount/src/optstr.c')
-rw-r--r-- | libmount/src/optstr.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libmount/src/optstr.c b/libmount/src/optstr.c index 9b21e63b1..b342b5f07 100644 --- a/libmount/src/optstr.c +++ b/libmount/src/optstr.c @@ -1081,7 +1081,7 @@ int mnt_optstr_fix_user(char **optstr) #ifdef TEST_PROGRAM -int test_append(struct libmnt_test *ts, int argc, char *argv[]) +static int test_append(struct libmnt_test *ts, int argc, char *argv[]) { const char *value = NULL, *name; char *optstr; @@ -1102,7 +1102,7 @@ int test_append(struct libmnt_test *ts, int argc, char *argv[]) return rc; } -int test_prepend(struct libmnt_test *ts, int argc, char *argv[]) +static int test_prepend(struct libmnt_test *ts, int argc, char *argv[]) { const char *value = NULL, *name; char *optstr; @@ -1123,7 +1123,7 @@ int test_prepend(struct libmnt_test *ts, int argc, char *argv[]) return rc; } -int test_split(struct libmnt_test *ts, int argc, char *argv[]) +static int test_split(struct libmnt_test *ts, int argc, char *argv[]) { char *optstr, *user = NULL, *fs = NULL, *vfs = NULL; int rc; @@ -1147,7 +1147,7 @@ int test_split(struct libmnt_test *ts, int argc, char *argv[]) return rc; } -int test_flags(struct libmnt_test *ts, int argc, char *argv[]) +static int test_flags(struct libmnt_test *ts, int argc, char *argv[]) { char *optstr; int rc; @@ -1173,7 +1173,7 @@ int test_flags(struct libmnt_test *ts, int argc, char *argv[]) return rc; } -int test_apply(struct libmnt_test *ts, int argc, char *argv[]) +static int test_apply(struct libmnt_test *ts, int argc, char *argv[]) { char *optstr; int rc, map; @@ -1203,7 +1203,7 @@ int test_apply(struct libmnt_test *ts, int argc, char *argv[]) return rc; } -int test_set(struct libmnt_test *ts, int argc, char *argv[]) +static int test_set(struct libmnt_test *ts, int argc, char *argv[]) { const char *value = NULL, *name; char *optstr; @@ -1224,7 +1224,7 @@ int test_set(struct libmnt_test *ts, int argc, char *argv[]) return rc; } -int test_get(struct libmnt_test *ts, int argc, char *argv[]) +static int test_get(struct libmnt_test *ts, int argc, char *argv[]) { char *optstr; const char *name; @@ -1253,7 +1253,7 @@ int test_get(struct libmnt_test *ts, int argc, char *argv[]) return rc; } -int test_remove(struct libmnt_test *ts, int argc, char *argv[]) +static int test_remove(struct libmnt_test *ts, int argc, char *argv[]) { const char *name; char *optstr; @@ -1271,7 +1271,7 @@ int test_remove(struct libmnt_test *ts, int argc, char *argv[]) return rc; } -int test_dedup(struct libmnt_test *ts, int argc, char *argv[]) +static int test_dedup(struct libmnt_test *ts, int argc, char *argv[]) { const char *name; char *optstr; @@ -1289,7 +1289,7 @@ int test_dedup(struct libmnt_test *ts, int argc, char *argv[]) return rc; } -int test_fix(struct libmnt_test *ts, int argc, char *argv[]) +static int test_fix(struct libmnt_test *ts, int argc, char *argv[]) { char *optstr; int rc = 0; |