From b25cb6718367c3ff084432a97bfa5823042ef839 Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Wed, 26 Sep 2018 10:55:37 +0300 Subject: [PATCH] fix typos in header --- src/atomicvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/atomicvar.h b/src/atomicvar.h index 173b045fc..ecd26ad70 100644 --- a/src/atomicvar.h +++ b/src/atomicvar.h @@ -1,7 +1,7 @@ /* This file implements atomic counters using __atomic or __sync macros if * available, otherwise synchronizing different threads using a mutex. * - * The exported interaface is composed of three macros: + * The exported interface is composed of three macros: * * atomicIncr(var,count) -- Increment the atomic counter * atomicGetIncr(var,oldvalue_var,count) -- Get and increment the atomic counter @@ -21,7 +21,7 @@ * * Never use return value from the macros, instead use the AtomicGetIncr() * if you need to get the current value and increment it atomically, like - * in the followign example: + * in the following example: * * long oldvalue; * atomicGetIncr(myvar,oldvalue,1);