diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index f98b9647ed8e1af13d9d86cd18d711fba164c299..03cf70bc0dbb4bcb11f03713d7f06a17086197be 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 3435819dbd67ed09f617bbaeeef188213cdb3547..20ffd67254220a148cc21d1c91f12361a61b5231 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}: