remove all remaining redundant __restrict/__inline/_Noreturn defs
This commit is contained in:
parent
b7afd7a7ec
commit
455f96857f
14 changed files with 14 additions and 76 deletions
|
|
@ -1,12 +1,9 @@
|
|||
#ifndef _BYTESWAP_H
|
||||
#define _BYTESWAP_H
|
||||
|
||||
#include <features.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
|
||||
#define __inline inline
|
||||
#endif
|
||||
|
||||
static __inline uint16_t __bswap_16(uint16_t __x)
|
||||
{
|
||||
return __x<<8 | __x>>8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue