Split atomic into two functions, atomic_read and atomic_write.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 13 Apr 2005 14:21:06 +0000 (14:21 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 13 Apr 2005 14:21:06 +0000 (14:21 +0000)
commitb00613bda7105f460f11aa245b03e57af6611953
tree9fea95441d638fdcb415d86b04706ad9f59e450d
parentd6d005621645781c0c58d82d4dd9ca31a29170ff
Split atomic into two functions, atomic_read and atomic_write.
This makes the code more readable and helps the const correctness.

Submitted-by: Sepherosa Ziehau <sepherosa@softhome.net>
sbin/dump/tape.c