summaryrefslogtreecommitdiff
path: root/tests/fs-tests/lib/tests.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-06-22 14:00:04 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-06-28 11:43:03 +0200
commitf8bc7d94761f6153be606328183fac6766202914 (patch)
treead349b9c2f0f530b9d3f4734a7cf74a52db8bb31 /tests/fs-tests/lib/tests.h
parenta7c8cb36d1fb972082ef4f0039300d051ade2de9 (diff)
Add const modifier to read only strings and string constants
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fs-tests/lib/tests.h')
-rw-r--r--tests/fs-tests/lib/tests.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fs-tests/lib/tests.h b/tests/fs-tests/lib/tests.h
index 01849bc..6bcfd83 100644
--- a/tests/fs-tests/lib/tests.h
+++ b/tests/fs-tests/lib/tests.h
@@ -164,9 +164,9 @@ int tests_fs_is_currfs(void);
/* Concatenate a pid to a string in a signal safe way */
void tests_cat_pid(char *buf, const char *name, pid_t pid);
-extern char *tests_file_system_mount_dir;
+extern const char *tests_file_system_mount_dir;
-extern char *tests_file_system_type;
+extern const char *tests_file_system_type;
/* General purpose test parameter to specify some aspect of test size.
May be used by different tests in different ways.
@@ -200,7 +200,7 @@ extern int tests_delete_flag;
extern int tests_hole_flag;
/* Program name from argv[0] */
-extern char *program_name;
+extern const char *program_name;
/* Maximum file name length of test file system (from statfs) */
extern long tests_max_fname_len;