summaryrefslogtreecommitdiff
path: root/lib/libcrypt
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>1998-06-01 20:24:46 +0000
committerkleink <kleink@NetBSD.org>1998-06-01 20:24:46 +0000
commitfa992e178b4202c382945f4e0fc6ba4f43a59978 (patch)
tree4233db41958e85d99563a8af38a23a6f5123b328 /lib/libcrypt
parent695ad15b904457a13cdf71a5ed8bf88db11280fb (diff)
Prototype has moved: add inclusion of <stdlib.h> to the synopsis of setkey().
Diffstat (limited to 'lib/libcrypt')
-rw-r--r--lib/libcrypt/crypt.37
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libcrypt/crypt.3 b/lib/libcrypt/crypt.3
index b669c92a559..42d4c6046f4 100644
--- a/lib/libcrypt/crypt.3
+++ b/lib/libcrypt/crypt.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: crypt.3,v 1.5 1998/02/05 18:51:33 perry Exp $
+.\" $NetBSD: crypt.3,v 1.6 1998/06/01 20:24:46 kleink Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -50,13 +50,14 @@
.Ft char
.Fn *crypt "const char *key" "const char *setting"
.Ft int
-.Fn setkey "const char *key"
-.Ft int
.Fn encrypt "char *block" "int flag"
.Ft int
.Fn des_setkey "const char *key"
.Ft int
.Fn des_cipher "const char *in" "char *out" "long salt" "int count"
+.Fd #include <stdlib.h>
+.Ft int
+.Fn setkey "const char *key"
.Sh DESCRIPTION
The
.Fn crypt