Removed unused varargs from __kmpc_flush function.
authorAndrey Churbanov <Andrey.Churbanov@intel.com>
Fri, 20 Feb 2015 18:09:27 +0000 (18:09 +0000)
committerAndrey Churbanov <Andrey.Churbanov@intel.com>
Fri, 20 Feb 2015 18:09:27 +0000 (18:09 +0000)
llvm-svn: 230032

openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_csupport.c

index b76e1df..8603fa7 100644 (file)
@@ -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 );
index 8e3d7f1..0b6f393 100644 (file)
@@ -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" ) );