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