svn commit: r219566 - head/tools/regression/pjdfstest

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Mar 12 14:09:43 UTC 2011


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[] = {


More information about the svn-src-all mailing list