summaryrefslogtreecommitdiff
path: root/include/crypt.h
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
committerDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
commitce8ee8d9b401c9c2828df3457815c2f4ceed4900 (patch)
treefc27874f9403ddfd24357f56d87d6ffe08d8ae19 /include/crypt.h
parent5882811b88767f26c75913ca2b2fffd05595a7b5 (diff)
Added __BEGIN_DECLS and __END_DECLS to the files that didn't have
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
Diffstat (limited to 'include/crypt.h')
-rw-r--r--include/crypt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/crypt.h b/include/crypt.h
index fd5d0f67f..6c7f6c85d 100644
--- a/include/crypt.h
+++ b/include/crypt.h
@@ -27,6 +27,8 @@
#include <features.h>
+__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);
@@ -65,4 +67,7 @@ extern void setkey_r (const char *__key,
extern void encrypt_r (char *__block, int __edflag,
struct crypt_data * __data);
+
+__END_DECLS
+
#endif /* crypt.h */