From acb5c916ea52915b301f2d4bf2c2058dbd4985f0 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek <jakub@redhat.com>
Date: Mon, 26 Jul 2010 18:22:18 +0200
Subject: [PATCH] libgomp.texi: Add function keyword to a couple of Fortran
 interfaces...

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

From-SVN: r162540
---
 libgomp/ChangeLog    | 5 +++++
 libgomp/libgomp.texi | 8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index f98b9647ed8e..03cf70bc0dbb 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 2010-07-26  Aldy Hernandez  <aldyh@redhat.com>
 
 	* libgomp.texi: Fix spelling and pasto problems throughout.
diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi
index 3435819dbd67..20ffd6725422 100644
--- a/libgomp/libgomp.texi
+++ b/libgomp/libgomp.texi
@@ -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 returned; if @var{level} is
 
 @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 allowed number of nested, active parallel regi
 
 @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}:
-- 
GitLab