Patchwork [committed] Further small libgomp.texi adjustments for Fortran

login
register
mail settings
Submitter Jakub Jelinek
Date July 26, 2010, 4:25 p.m.
Message ID <20100726162540.GQ18378@tyan-ft48-01.lab.bos.redhat.com>
Download mbox | patch
Permalink /patch/59927/
State New
Headers show

Comments

Jakub Jelinek - July 26, 2010, 4:25 p.m.
Hi!

Couple of Fortran interfaces in the documentation didn't have
function keywords, fixed thusly, committed to trunk.

2010-07-26  Jakub Jelinek  <jakub@redhat.com>

	* libgomp.texi: Add function keyword to a couple of Fortran
	interfaces, use integer instead of int for Fortran.


	Jakub

Patch

--- libgomp/libgomp.texi	(revision 162538)
+++ libgomp/libgomp.texi	(working copy)
@@ -192,7 +192,7 @@  which enclose the calling call.
 
 @item @emph{Fortran}:
 @multitable @columnfractions .20 .80
-@item @emph{Interface}: @tab @code{integer omp_get_active_level()}
+@item @emph{Interface}: @tab @code{integer function omp_get_active_level()}
 @end multitable
 
 @item @emph{See also}:
@@ -220,7 +220,7 @@  zero to @code{omp_get_level} -1 is retur
 
 @item @emph{Fortran}:
 @multitable @columnfractions .20 .80
-@item @emph{Interface}: @tab @code{integer omp_get_ancestor_thread_num(level)}
+@item @emph{Interface}: @tab @code{integer function omp_get_ancestor_thread_num(level)}
 @item                   @tab @code{integer level}
 @end multitable
 
@@ -279,7 +279,7 @@  which enclose the calling call.
 
 @item @emph{Fortran}:
 @multitable @columnfractions .20 .80
-@item @emph{Interface}: @tab @code{integer omp_level()}
+@item @emph{Interface}: @tab @code{integer function omp_level()}
 @end multitable
 
 @item @emph{See also}:
@@ -304,7 +304,7 @@  This function obtains the maximum allowe
 
 @item @emph{Fortran}:
 @multitable @columnfractions .20 .80
-@item @emph{Interface}: @tab @code{int omp_get_max_active_levels()}
+@item @emph{Interface}: @tab @code{integer function omp_get_max_active_levels()}
 @end multitable
 
 @item @emph{See also}: