aboutsummaryrefslogtreecommitdiff
path: root/pwgen.h
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 /pwgen.h
parent6fe4e7f082beca523e237db60807e2d3535fee45 (diff)
downloadpwgen-468a1f0c5bd165b6d0647b184885eb2040d7ddf4.zip
automatic commit for pwgen-2.02
Diffstat (limited to 'pwgen.h')
-rw-r--r--pwgen.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pwgen.h b/pwgen.h
index 1d66da7..e28ac95 100644
--- a/pwgen.h
+++ b/pwgen.h
@@ -1,15 +1,15 @@
/*
* pwgen.h --- header file for password generator
*
- * 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.
*/
struct pw_element {
- char *str;
- int flags;
+ const char *str;
+ int flags;
};
/*
@@ -27,9 +27,9 @@ struct pw_element {
#define PW_ONE_CASE 0x0002
struct pwgen_func {
- char *name;
- void (*func)(char *buf, int size, int pw_flags);
- int flags;
+ const char *name;
+ void (*func)(char *buf, int size, int pw_flags);
+ int flags;
};
/* Function prototypes */