[PATCH 1/6] Add missing NEWPAGE commands to makedoc markup in reent/

Jon TURNEY jon.turney@dronecode.org.uk
Tue Jul 21 18:35:00 GMT 2015


makedoc requires a NEWPAGE command to preceed the second and subsequent FUNCTION
commands in a file in order to produce the correct texinfo output.

Add missing NEWPAGE commands needed in reent/execr.c. and reent/signalr.c, which
contain makedoc multiple for multiple functions.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
---
 newlib/libc/reent/execr.c   | 2 ++
 newlib/libc/reent/signalr.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/newlib/libc/reent/execr.c b/newlib/libc/reent/execr.c
index 744f56a..d802670 100644
--- a/newlib/libc/reent/execr.c
+++ b/newlib/libc/reent/execr.c
@@ -69,6 +69,7 @@ _DEFUN (_execve_r, (ptr, name, argv, env),
 
 
 /*
+NEWPAGE
 FUNCTION
 	<<_fork_r>>---Reentrant version of fork
 	
@@ -107,6 +108,7 @@ _DEFUN (_fork_r, (ptr),
 #endif
 
 /*
+NEWPAGE
 FUNCTION
 	<<_wait_r>>---Reentrant version of wait
 	
diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c
index 7d8aa7d..161d530 100644
--- a/newlib/libc/reent/signalr.c
+++ b/newlib/libc/reent/signalr.c
@@ -64,6 +64,7 @@ _DEFUN (_kill_r, (ptr, pid, sig),
 }
 
 /*
+NEWPAGE
 FUNCTION
 	<<_getpid_r>>---Reentrant version of getpid
 	
-- 
2.4.5



More information about the Newlib mailing list