From 58f074816da9fc733d38a86a03802e3d48cdcc1d Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Mon, 30 Jan 2006 12:16:52 +0000 Subject: [PATCH] * declare the variable names the same way they were used... At least at some point, I realized having a variable name "new" might cause some problems for those people using a C++ compiler to compile C code ;). This commit was SVN r8846. --- ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c b/ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c index 0bcc073cad..6545bfd034 100644 --- a/ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c +++ b/ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c @@ -34,7 +34,7 @@ static inline int32_t create_send_tag(ompi_osc_pt2pt_module_t *module) { #if OMPI_HAVE_THREAD_SUPPORT && OPAL_HAVE_ATOMIC_CMPSET_32 - int32_t new, old; + int32_t newval, oldval; do { oldval = module->p2p_tag_counter; newval = (oldval + 1) % mca_pml.pml_max_tag;