PERFORCE change 33322 for review
Dag-Erling Smorgrav
des at FreeBSD.org
Wed Jun 18 02:42:14 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=33322
Change 33322 by des at 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
More information about the p4-projects
mailing list