Date: Sat, 12 Mar 2011 14:09:43 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219566 - head/tools/regression/pjdfstest Message-ID: <201103121409.p2CE9hG6021007@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Sat Mar 12 14:09:43 2011 New Revision: 219566 URL: http://svn.freebsd.org/changeset/base/219566 Log: Add some missing consts. Modified: head/tools/regression/pjdfstest/pjdfstest.c Modified: head/tools/regression/pjdfstest/pjdfstest.c ============================================================================== --- head/tools/regression/pjdfstest/pjdfstest.c Sat Mar 12 12:10:17 2011 (r219565) +++ head/tools/regression/pjdfstest/pjdfstest.c Sat Mar 12 14:09:43 2011 (r219566) @@ -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[] = {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103121409.p2CE9hG6021007>