On 12/04/17 13:24, Dmitry Eremin-Solenikov wrote: > On 10.02.2017 19:06, Joe Savage wrote: >> +#ifndef ODP_FRAGREASS_PP_ATOMICS_H_ >> +#define ODP_FRAGREASS_PP_ATOMICS_H_ >> + >> +#include <example_debug.h> >> + >> +#if defined(__arm__) || defined(__aarch64__) >> +#if defined(__aarch64__) >> +static inline __int128 lld(__int128 *var, int mo); >> +static inline uint32_t scd(__int128 *var, __int128 neu, int mo); > > Is there any reason to have prototypes, then main function, then lld/scd > implementation? What about moving lld/scd upwards, so that there would > be no extra prototypes?
Good point, I'll change this — thanks.