diff options
author | pjd <pjd@FreeBSD.org> | 2011-03-12 14:09:43 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-03-12 14:09:43 +0000 |
commit | 1f59cd375fb5ab70d433a2ee75105a1b74d54296 (patch) | |
tree | 04e4742610ca98c5cee6fef2efc469ff25a402d0 /tools | |
parent | e7e662134ba5784c501b2ccd0667740d97647cc3 (diff) | |
download | FreeBSD-src-1f59cd375fb5ab70d433a2ee75105a1b74d54296.zip FreeBSD-src-1f59cd375fb5ab70d433a2ee75105a1b74d54296.tar.gz |
Add some missing consts.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/pjdfstest/pjdfstest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/regression/pjdfstest/pjdfstest.c b/tools/regression/pjdfstest/pjdfstest.c index d1627eb..b14d34e 100644 --- a/tools/regression/pjdfstest/pjdfstest.c +++ b/tools/regression/pjdfstest/pjdfstest.c @@ -129,7 +129,7 @@ enum action { #define MAX_ARGS 8 struct syscall_desc { - char *sd_name; + const char *sd_name; enum action sd_action; int sd_args[MAX_ARGS]; }; @@ -193,7 +193,7 @@ static struct syscall_desc syscalls[] = { struct flag { long long f_flag; - char *f_str; + const char *f_str; }; static struct flag open_flags[] = { @@ -310,8 +310,8 @@ static struct flag fstatat_flags[] = { }; struct name { - int n_name; - char *n_str; + int n_name; + const char *n_str; }; static struct name pathconf_names[] = { |