1 2 3 4 5 6
/* $FreeBSD$ */ #define NAME __sync_fetch_and_sub_4 #define TYPE int32_t #define FETCHADD(x, y) atomic_fetchadd_32(x, -(y)) #include "__sync_fetch_and_op_n.h"