svn commit: r274145 - head/contrib/openpam/t

Dag-Erling Smørgrav des at FreeBSD.org
Wed Nov 5 20:13:20 UTC 2014


Author: des
Date: Wed Nov  5 20:13:18 2014
New Revision: 274145
URL: https://svnweb.freebsd.org/changeset/base/274145

Log:
  Staticize the test plans.

Modified:
  head/contrib/openpam/t/t_openpam_ctype.c
  head/contrib/openpam/t/t_openpam_readlinev.c
  head/contrib/openpam/t/t_openpam_readword.c

Modified: head/contrib/openpam/t/t_openpam_ctype.c
==============================================================================
--- head/contrib/openpam/t/t_openpam_ctype.c	Wed Nov  5 19:54:14 2014	(r274144)
+++ head/contrib/openpam/t/t_openpam_ctype.c	Wed Nov  5 20:13:18 2014	(r274145)
@@ -94,7 +94,7 @@ T_OC(pfcs)
  * Boilerplate
  */
 
-const struct t_test *t_plan[] = {
+static const struct t_test *t_plan[] = {
 	T(t_oc_digit),
 	T(t_oc_xdigit),
 	T(t_oc_upper),

Modified: head/contrib/openpam/t/t_openpam_readlinev.c
==============================================================================
--- head/contrib/openpam/t/t_openpam_readlinev.c	Wed Nov  5 19:54:14 2014	(r274144)
+++ head/contrib/openpam/t/t_openpam_readlinev.c	Wed Nov  5 20:13:18 2014	(r274145)
@@ -255,7 +255,7 @@ T_FUNC(unterminated_line, "unterminated 
  * Boilerplate
  */
 
-const struct t_test *t_plan[] = {
+static const struct t_test *t_plan[] = {
 	T(empty_input),
 	T(empty_line),
 	T(unterminated_empty_line),

Modified: head/contrib/openpam/t/t_openpam_readword.c
==============================================================================
--- head/contrib/openpam/t/t_openpam_readword.c	Wed Nov  5 19:54:14 2014	(r274144)
+++ head/contrib/openpam/t/t_openpam_readword.c	Wed Nov  5 20:13:18 2014	(r274145)
@@ -823,7 +823,7 @@ T_FUNC(escaped_double_quote_within_doubl
  * Boilerplate
  */
 
-const struct t_test *t_plan[] = {
+static const struct t_test *t_plan[] = {
 	T(empty_input),
 	T(empty_line),
 	T(single_whitespace),


More information about the svn-src-head mailing list