[PATCH 07/22] remap_file_pages.2: SYNOPSIS: Mark as [[deprecated]]

From: Alejandro Colomar
Date: Sat Oct 30 2021 - 17:32:22 EST


This syscall was marked as deprecated in Linux 3.16.

Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
man2/remap_file_pages.2 | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/man2/remap_file_pages.2 b/man2/remap_file_pages.2
index 2ed31bbff..69b37bb8b 100644
--- a/man2/remap_file_pages.2
+++ b/man2/remap_file_pages.2
@@ -33,8 +33,9 @@ remap_file_pages \- create a nonlinear file mapping
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
.B #include <sys/mman.h>
.PP
-.BI "int remap_file_pages(void *" addr ", size_t " size ", int " prot ,
-.BI " size_t " pgoff ", int " flags );
+.BI "[[deprecated]] int remap_file_pages(void *" addr ", size_t " size \
+", int " prot ,
+.BI " size_t " pgoff ", int " flags );
.fi
.SH DESCRIPTION
.BR Note :
--
2.33.1