dp_doom: silence warning about empty translation unit on little endian
This commit is contained in:
parent
93b401420c
commit
b9f045afb8
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ unsigned long SwapLONG( unsigned long x)
|
|||
| ((x<<24) & 0xff000000);
|
||||
}
|
||||
|
||||
|
||||
#else
|
||||
// To silence warning: ISO C forbids an empty translation unit [-Wpedantic]
|
||||
__attribute__((used))static void foo() {}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue