summaryrefslogtreecommitdiff
path: root/scripts/atomic/fallbacks/inc
blob: f866b3ad235376237d1c3cf8dbc4c2b4498f8751 (plain)
1
2
3
4
5
6
7
cat <<EOF
static inline ${ret}
${atomic}_${pfx}inc${sfx}${order}(${atomic}_t *v)
{
	${retstmt}${atomic}_${pfx}add${sfx}${order}(1, v);
}
EOF