From 13c4975c2d8673045aaf58a1553b35ee8788ad3c Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sun, 5 May 2013 23:47:22 +0000 Subject: [PATCH] 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 --- libgfortran/ChangeLog | 5 +++++ libgfortran/caf/libcaf.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 54802747dc9..8b34b125770 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2013-05-05 David Edelsohn + + * caf/libcaf.h (_gfortran_caf_critical): Add a prototype. + (_gfortran_caf_end_critical): Same. + 2013-05-04 David Edelsohn * runtime/environ.c: Include unistd.h. 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) { }