[Openmp-commits] [openmp] r230032 - Removed unused varargs from __kmpc_flush function.

Andrey Churbanov Andrey.Churbanov at intel.com
Fri Feb 20 10:09:27 PST 2015


Author: achurbanov
Date: Fri Feb 20 12:09:27 2015
New Revision: 230032

URL: http://llvm.org/viewvc/llvm-project?rev=230032&view=rev
Log:
Removed unused varargs from __kmpc_flush function.

Modified:
    openmp/trunk/runtime/src/kmp.h
    openmp/trunk/runtime/src/kmp_csupport.c

Modified: openmp/trunk/runtime/src/kmp.h
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp.h?rev=230032&r1=230031&r2=230032&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp.h (original)
+++ openmp/trunk/runtime/src/kmp.h Fri Feb 20 12:09:27 2015
@@ -3162,7 +3162,7 @@ KMP_EXPORT void   __kmpc_fork_call
 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 );

Modified: openmp/trunk/runtime/src/kmp_csupport.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_csupport.c?rev=230032&r1=230031&r2=230032&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_csupport.c (original)
+++ openmp/trunk/runtime/src/kmp_csupport.c Fri Feb 20 12:09:27 2015
@@ -540,17 +540,13 @@ __kmpc_end_serialized_parallel(ident_t *
 /*!
 @ingroup SYNCHRONIZATION
 @param loc  source location information.
- at 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" ) );
 





More information about the Openmp-commits mailing list