Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1865 → Rev 1866

/trunk/uspace/libc/arch/mips32/include/atomic.h
26,7 → 26,7
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libcmips32
/** @addtogroup libcmips32
* @{
*/
/** @file
33,8 → 33,8
* @ingroup libcmips32eb
*/
 
#ifndef __mips32_ATOMIC_H__
#define __mips32_ATOMIC_H__
#ifndef LIBC_mips32_ATOMIC_H_
#define LIBC_mips32_ATOMIC_H_
 
#define atomic_inc(x) ((void) atomic_add(x, 1))
#define atomic_dec(x) ((void) atomic_add(x, -1))
73,6 → 73,5
 
#endif
 
/** @}
/** @}
*/