summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Colomar <alx.manpages@gmail.com>2022-09-12 17:05:23 +0200
committerAlex Colomar <alx.manpages@gmail.com>2022-09-12 19:13:48 +0200
commitd0e34c0c2671ef56be37b14f15b5d6f70a0fecc6 (patch)
tree69dce7a3ac37644b3a65fb54c32a42504b37fd18
parentad3868f0847f9ba3530532063bcb2bd0cb4bf509 (diff)
encrypt.3: SYNOPSIS: Mark functions as [[deprecated]]
These functions don't exist anymore. Reported-by: clang(1) Signed-off-by: Alex Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/encrypt.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man3/encrypt.3 b/man3/encrypt.3
index 79ea079b7..671be82a2 100644
--- a/man3/encrypt.3
+++ b/man3/encrypt.3
@@ -19,19 +19,19 @@ Encryption and decryption library
.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */"
.B #include <unistd.h>
.PP
-.BI "void encrypt(char " block "[64], int " edflag );
+.BI "[[deprecated]] void encrypt(char " block "[64], int " edflag );
.PP
.BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */"
.B #include <stdlib.h>
.PP
-.BI "void setkey(const char *" key );
+.BI "[[deprecated]] void setkey(const char *" key );
.PP
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <crypt.h>
.PP
-.BI "void setkey_r(const char *" key ", struct crypt_data *" data );
-.BI "void encrypt_r(char *" block ", int " edflag \
-", struct crypt_data *" data );
+.BI "[[deprecated]] void setkey_r(const char *" key ", struct crypt_data *" data );
+.BI "[[deprecated]] void encrypt_r(char *" block ", int " edflag ,
+.BI " struct crypt_data *" data );
.fi
.SH DESCRIPTION
These functions encrypt and decrypt 64-bit messages.
@@ -153,7 +153,7 @@ See
.SS Features in glibc
In glibc 2.2, these functions use the DES algorithm.
.SH EXAMPLES
-.\" SRC BEGIN (encrypt.c)
+.\" [[deprecated]] SRC BEGIN (encrypt.c)
.EX
#define _XOPEN_SOURCE
#include <crypt.h>