This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Add missing NEWPAGE commands to makedoc markup in reent/


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1c19a13fd119480a8974427f3b4e27cc3ad25234

commit 1c19a13fd119480a8974427f3b4e27cc3ad25234
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Tue Jul 21 13:42:04 2015 +0100

    Add missing NEWPAGE commands to makedoc markup in reent/
    
    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 markup for multiple functions.
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>

Diff:
---
 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]