summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-12 20:26:41 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:21 +0200
commit2072ce3b2e052a82452f2c67768468f76465d32c (patch)
tree93b022317482f3240eebdb799ec1db1fabbeb0dd /include
parentb9e58bace839d8a992ef4937b446f88b47a3e8bc (diff)
crypt.h: use __const instead of const
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/crypt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypt.h b/include/crypt.h
index f62a03056..9a6f0123b 100644
--- a/include/crypt.h
+++ b/include/crypt.h
@@ -27,11 +27,11 @@ __BEGIN_DECLS
/* Encrypt characters from KEY using salt to perturb the encryption method.
* If salt begins with "$1$", MD5 hashing is used instead of DES. */
-extern char *crypt (const char *__key, const char *__salt)
+extern char *crypt (__const char *__key, __const char *__salt)
__THROW __nonnull ((1, 2));
/* Setup DES tables according KEY. */
-extern void setkey (const char *__key) __THROW __nonnull ((1));
+extern void setkey (__const char *__key) __THROW __nonnull ((1));
/* Encrypt data in BLOCK in place if EDFLAG is zero; otherwise decrypt
block in place. */