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
This commit is contained in:
David Edelsohn 2013-05-05 23:47:22 +00:00 committed by David Edelsohn
parent 33e6755738
commit 13c4975c2d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-05-05 David Edelsohn <dje.gcc@gmail.com>
* caf/libcaf.h (_gfortran_caf_critical): Add a prototype.
(_gfortran_caf_end_critical): Same.
2013-05-04 David Edelsohn <dje.gcc@gmail.com>
* runtime/environ.c: Include unistd.h.

View File

@ -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) { }