From: Alejandro Colomar Date: Sat, 10 Oct 2020 17:50:02 +0000 (+0200) Subject: regex.3: Remove unnecessary include X-Git-Tag: man-pages-5.09~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71030dbdd225fc823ef9a2cb178985710f3ccb73;p=thirdparty%2Fman-pages.git regex.3: Remove unnecessary include POSIX requires that the header shall define the structures and symbolic constants used by the regcomp(), regexec(), regerror(), and regfree() functions. Therefore, there should be no need to include at all. The POSIX docs don't use that include: https://pubs.opengroup.org/onlinepubs/9699919799/functions/regcomp.html Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man3/regex.3 b/man3/regex.3 index d4f7a09e7b..414011d912 100644 --- a/man3/regex.3 +++ b/man3/regex.3 @@ -32,7 +32,6 @@ regcomp, regexec, regerror, regfree \- POSIX regex functions .SH SYNOPSIS .nf -.B #include .B #include .PP .BI "int regcomp(regex_t *" preg ", const char *" regex ", int " cflags );