aboutsummaryrefslogtreecommitdiff
path: root/pw_phonemes.c
diff options
context:
space:
mode:
authorPhilipp Klaus <philipp.klaus@gmail.com>2011-06-21 17:12:21 +0200
committerPhilipp Klaus <philipp.klaus@gmail.com>2011-06-21 17:12:21 +0200
commit468a1f0c5bd165b6d0647b184885eb2040d7ddf4 (patch)
tree8b8116449edf5447bb3c86900007e805aac312df /pw_phonemes.c
parent6fe4e7f082beca523e237db60807e2d3535fee45 (diff)
downloadpwgen-468a1f0c5bd165b6d0647b184885eb2040d7ddf4.zip
automatic commit for pwgen-2.02
Diffstat (limited to 'pw_phonemes.c')
-rw-r--r--pw_phonemes.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/pw_phonemes.c b/pw_phonemes.c
index 91c8b55..1eaa311 100644
--- a/pw_phonemes.c
+++ b/pw_phonemes.c
@@ -1,12 +1,13 @@
/*
* pw_phonemes.c --- generate secure passwords using phoneme rules
*
- * Copyright (C) 2001 by Theodore Ts'o
+ * Copyright (C) 2001,2002 by Theodore Ts'o
*
* This file may be distributed under the terms of the GNU Public
* License.
*/
+#include <ctype.h>
#include "pwgen.h"
struct pw_element elements[] = {
@@ -56,9 +57,9 @@ struct pw_element elements[] = {
void pw_phonemes(char *buf, int size, int pw_flags)
{
- int c, i, len, flags, feature_flags;
- int prev, should_be, first;
- char *str;
+ int c, i, len, flags, feature_flags;
+ int prev, should_be, first;
+ const char *str;
try_again:
feature_flags = pw_flags;