Avoid using 'new' (C++ reserved keyword) as argument name.
Signed-off-by: Michal Wysoczanski <michal.wysoczanski@intel.com>
This commit is contained in:
parent
9e75edd18c
commit
d08c1b3a75
4
env/posix/ocf_env.h
vendored
4
env/posix/ocf_env.h
vendored
@ -473,9 +473,9 @@ static inline long env_atomic64_inc_return(env_atomic64 *a)
|
||||
return __sync_add_and_fetch(&a->counter, 1);
|
||||
}
|
||||
|
||||
static inline long env_atomic64_cmpxchg(env_atomic64 *a, long old, long new)
|
||||
static inline long env_atomic64_cmpxchg(env_atomic64 *a, long old_v, long new_v)
|
||||
{
|
||||
return __sync_val_compare_and_swap(&a->counter, old, new);
|
||||
return __sync_val_compare_and_swap(&a->counter, old_v, new_v);
|
||||
}
|
||||
|
||||
/* *** SPIN LOCKS *** */
|
||||
|
Loading…
Reference in New Issue
Block a user