On Sun, Dec 13, 2015 at 12:55:16PM -0700, Joerg Jung wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   [email protected]    2015/12/13 12:55:16
> 
> Modified files:
>       usr.sbin/smtpd/smtpd: Makefile 
> Added files:
>       usr.sbin/smtpd : filter_api.3 
> 
> Log message:
> add filter api man page
> 
> ok gilles
> 

There are two warnings spotted by `mandoc -Tlint'

% mandoc -Tlint filter_api.3
mandoc: filter_api.3:285:2: WARNING: sections out of conventional order: Sh 
EXAMPLES
mandoc: filter_api.3:292:2: WARNING: unusual Xr order: filter-stub after smtpd
%

merely cosmetic:
EXAMPLES should be before ERRORS and same with filter-stub(8) and smtpd(8).

// gsoares
Index: filter_api.3
===================================================================
RCS file: /cvs/src/usr.sbin/smtpd/filter_api.3,v
retrieving revision 1.1
diff -u -p -r1.1 filter_api.3
--- filter_api.3        13 Dec 2015 19:55:16 -0000      1.1
+++ filter_api.3        13 Dec 2015 22:56:44 -0000
@@ -275,6 +275,10 @@ returns the static string
 and the function
 .Fn filter_api_mailaddr_to_text
 returns NULL.
+.Sh EXAMPLES
+.Xr filter-stub 8
+which ships with the OpenSMTPD-extras package is intended to provide an example
+code template.
 .Sh ERRORS
 The function
 .Fn filter_api_sockaddr_to_text
@@ -282,14 +286,10 @@ may fail for any of the errors specified
 .Xr getnameinfo 3
 and listed in
 .Xr gai_strerror 3 .
-.Sh EXAMPLES
-.Xr filter-stub 8
-which ships with the OpenSMTPD-extras package is intended to provide an example
-code template.
 .Sh SEE ALSO
 .Xr smtpd.conf 5 ,
-.Xr smtpd 8 ,
-.Xr filter-stub 8
+.Xr filter-stub 8 ,
+.Xr smtpd 8
 .Sh HISTORY
 The
 .Nm filter_api

Reply via email to