Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2003 02:42:12 -0700 (PDT)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 33322 for review
Message-ID:  <200306180942.h5I9gCDp090673@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=33322

Change 33322 by des@des.at.des.thinksec.com on 2003/06/18 02:41:15

	Staticize the default prompts.

Affected files ...

.. //depot/projects/openpam/lib/pam_get_authtok.c#26 edit

Differences ...

==== //depot/projects/openpam/lib/pam_get_authtok.c#26 (text+ko) ====

@@ -31,7 +31,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#25 $
+ * $P4: //depot/projects/openpam/lib/pam_get_authtok.c#26 $
  */
 
 #include <sys/param.h>
@@ -44,9 +44,9 @@
 
 #include "openpam_impl.h"
 
-const char authtok_prompt[] = "Password:";
-const char oldauthtok_prompt[] = "Old Password:";
-const char newauthtok_prompt[] = "New Password:";
+static const char authtok_prompt[] = "Password:";
+static const char oldauthtok_prompt[] = "Old Password:";
+static const char newauthtok_prompt[] = "New Password:";
 
 /*
  * OpenPAM extension



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