浏览代码

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>
Peter S. Mazinger 13 年之前
父节点
当前提交
2072ce3b2e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/crypt.h

+ 2 - 2
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.  */