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


Ignore:
Timestamp:
2019-02-11T22:31:04Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
aaf9789c
Parents:
e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merging with upstream/master

File:
1 edited

Legend:

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

    re3272101 rd5a89a3  
    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.