diff mbox series

[20/22] list.3: EXAMPLES: ffix: Use man markup

Message ID 20201020142146.61837-21-colomar.6.4.3@gmail.com
State Not Applicable
Headers show
Series list.3: New page forked from queue.3 | expand

Commit Message

Alejandro Colomar Oct. 20, 2020, 2:21 p.m. UTC
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
---
 man3/list.3 | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/man3/list.3 b/man3/list.3
index b22453ab9..bb64fff92 100644
--- a/man3/list.3
+++ b/man3/list.3
@@ -262,8 +262,7 @@  Present on the BSDs
 (LIST macros first appeared in 4.4BSD).
 .SH BUGS
 .SH EXAMPLES
-.Ss List example
-.Bd -literal
+.EX
 #include <stddef.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -314,7 +313,7 @@  main(void)
 
     exit(EXIT_SUCCESS);
 }
-.Ed
+.EE
 .SH SEE ALSO
 .BR insque (3),
 .BR queue (3)