summaryrefslogtreecommitdiffstats
path: root/login-utils/ch-common.h
diff options
context:
space:
mode:
authorSami Kerola2014-12-14 22:38:56 +0100
committerSami Kerola2015-01-05 23:52:50 +0100
commit144ae70ef3f1fe2738d4f3ad15a62ae37fb71985 (patch)
treeebe9dad3ccf186749072b928caada5af6a20e9a6 /login-utils/ch-common.h
parentchsh: remove function prototypes (diff)
downloadkernel-qcow2-util-linux-144ae70ef3f1fe2738d4f3ad15a62ae37fb71985.tar.gz
kernel-qcow2-util-linux-144ae70ef3f1fe2738d4f3ad15a62ae37fb71985.tar.xz
kernel-qcow2-util-linux-144ae70ef3f1fe2738d4f3ad15a62ae37fb71985.zip
chfn, chsh: share illegal_passwd_chars() function
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/ch-common.h')
-rw-r--r--login-utils/ch-common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/login-utils/ch-common.h b/login-utils/ch-common.h
new file mode 100644
index 000000000..7f70e50e1
--- /dev/null
+++ b/login-utils/ch-common.h
@@ -0,0 +1,6 @@
+#ifndef UTIL_LINUX_CH_COMMON_H
+#define UTIL_LINUX_CH_COMMON_H
+
+extern int illegal_passwd_chars(const char *str);
+
+#endif /* UTIL_LINUX_CH_COMMON */