[git commit] crypt.h: use __const instead of const
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:21 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=2072ce3b2e052a82452f2c67768468f76465d32c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
include/crypt.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/crypt.h b/include/crypt.h
index f62a030..9a6f012 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. */
More information about the uClibc-cvs
mailing list