Message-ID: <52E8CD0F.6040808@xenomai.org> Date: Wed, 29 Jan 2014 10:42:39 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <1390939945.5452.YahooMailNeo@web171602.mail.ir2.yahoo.com> In-Reply-To: <1390939945.5452.YahooMailNeo@web171602.mail.ir2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] atomic_sub_fetch in atomic.h List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Matthias Schneider , "xenomai@xenomai.org" On 01/28/2014 09:12 PM, Matthias Schneider wrote: > Hi all, > > shouldn't > > #define atomic_sub_fetch(v, n) _sync_sub_and_fetch(&(v), n) > > in file include/nocore/atomic.h line 48 of xenomai-forge be rather > > #define atomic_sub_fetch(v, n) __sync_sub_and_fetch(&(v), n) > > ? > It is not used by the current code anyway, but does not compile when trying to > do so.. > Typo indeed. Thanks for the heads up. -- Philippe.