Changeset 4805495 in mainline for uspace/lib/c/include/barrier.h


Ignore:
Timestamp:
2019-02-11T15:01:33Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ab936440, d5a89a3, fc448f5
Parents:
8df5f20
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-01 23:30:11)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-11 15:01:33)
Message:

Make sure libc and abi header guards are reserved identifiers

It's only needed for a small subset that end up included from standard
headers, but for consistency this changes all of them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/barrier.h

    r8df5f20 r4805495  
    3333 */
    3434
    35 #ifndef LIBC_COMPILER_BARRIER_H_
    36 #define LIBC_COMPILER_BARRIER_H_
     35#ifndef _LIBC_COMPILER_BARRIER_H_
     36#define _LIBC_COMPILER_BARRIER_H_
    3737
    3838#include <stdatomic.h>
     
    6161#define ACCESS_ONCE(var) (*((volatile typeof(var)*)&(var)))
    6262
    63 #endif /* LIBC_COMPILER_BARRIER_H_ */
     63#endif /* _LIBC_COMPILER_BARRIER_H_ */
Note: See TracChangeset for help on using the changeset viewer.