summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openmp/runtime/src/kmp.h2
-rw-r--r--openmp/runtime/src/kmp_csupport.c8
2 files changed, 3 insertions, 7 deletions
diff --git a/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h
index b76e1df68db..8603fa7aa8e 100644
--- a/openmp/runtime/src/kmp.h
+++ b/openmp/runtime/src/kmp.h
@@ -3162,7 +3162,7 @@ KMP_EXPORT void __kmpc_fork_call ( ident_t *, kmp_int32 nargs, kmpc_m
KMP_EXPORT void __kmpc_serialized_parallel ( ident_t *, kmp_int32 global_tid );
KMP_EXPORT void __kmpc_end_serialized_parallel ( ident_t *, kmp_int32 global_tid );
-KMP_EXPORT void __kmpc_flush ( ident_t *, ... );
+KMP_EXPORT void __kmpc_flush ( ident_t *);
KMP_EXPORT void __kmpc_barrier ( ident_t *, kmp_int32 global_tid );
KMP_EXPORT kmp_int32 __kmpc_master ( ident_t *, kmp_int32 global_tid );
KMP_EXPORT void __kmpc_end_master ( ident_t *, kmp_int32 global_tid );
diff --git a/openmp/runtime/src/kmp_csupport.c b/openmp/runtime/src/kmp_csupport.c
index 8e3d7f15fa6..0b6f3935a64 100644
--- a/openmp/runtime/src/kmp_csupport.c
+++ b/openmp/runtime/src/kmp_csupport.c
@@ -540,17 +540,13 @@ __kmpc_end_serialized_parallel(ident_t *loc, kmp_int32 global_tid)
/*!
@ingroup SYNCHRONIZATION
@param loc source location information.
-@param ... pointers to the variables to be synchronized.
-Execute <tt>flush</tt>. The pointers to the variables to be flushed
-need not actually be passed, (indeed unless this is a zero terminated
-list they can't be since there's no count here so we don't know how
-many there are!). This is implemented as a full memory fence. (Though
+Execute <tt>flush</tt>. This is implemented as a full memory fence. (Though
depending on the memory ordering convention obeyed by the compiler
even that may not be necessary).
*/
void
-__kmpc_flush(ident_t *loc, ...)
+__kmpc_flush(ident_t *loc)
{
KC_TRACE( 10, ("__kmpc_flush: called\n" ) );
OpenPOWER on IntegriCloud