Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2014 20:13:19 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274145 - head/contrib/openpam/t
Message-ID:  <201411052013.sA5KDJF5068799@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411052013.sA5KDJF5068799>