dp_doom: silence warning about empty translation unit on little endian

This commit is contained in:
oxmox 2023-03-03 05:55:04 +01:00
parent 93b401420c
commit b9f045afb8

View file

@ -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