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