OpenCloudOS-Kernel/scripts/atomic/fallbacks/inc

8 lines
141 B
Plaintext
Executable File

cat <<EOF
static inline ${ret}
${atomic}_${pfx}inc${sfx}${order}(${atomic}_t *v)
{
${retstmt}${atomic}_${pfx}add${sfx}${order}(1, v);
}
EOF