summaryrefslogtreecommitdiff
path: root/libgfortran/caf
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2013-05-05 23:47:22 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2013-05-05 19:47:22 -0400
commit13c4975c2d8673045aaf58a1553b35ee8788ad3c (patch)
tree48bcdb24cad4aff40e776d5b95c5b3b85fc7590b /libgfortran/caf
parent33e6755738a59a47e0f2e436e01b72514043e8cb (diff)
downloadgcc-13c4975c2d8673045aaf58a1553b35ee8788ad3c.tar.gz
libcaf.h (_gfortran_caf_critical): Add a prototype.
* caf/libcaf.h (_gfortran_caf_critical): Add a prototype. (_gfortran_caf_end_critical): Same. From-SVN: r198613
Diffstat (limited to 'libgfortran/caf')
-rw-r--r--libgfortran/caf/libcaf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/caf/libcaf.h b/libgfortran/caf/libcaf.h
index 6066ba9b5c4..fda6dba985e 100644
--- a/libgfortran/caf/libcaf.h
+++ b/libgfortran/caf/libcaf.h
@@ -76,7 +76,10 @@ void _gfortran_caf_sync_images (int, int[], int *, char *, int);
/* FIXME: The CRITICAL functions should be removed;
the functionality is better represented using Coarray's lock feature. */
+void _gfortran_caf_critical (void);
void _gfortran_caf_critical (void) { }
+
+void _gfortran_caf_end_critical (void);
void _gfortran_caf_end_critical (void) { }