diff --git a/src/dp_doom/linuxdoom-1.10/m_swap.c b/src/dp_doom/linuxdoom-1.10/m_swap.c index 1929bd8..08e102b 100644 --- a/src/dp_doom/linuxdoom-1.10/m_swap.c +++ b/src/dp_doom/linuxdoom-1.10/m_swap.c @@ -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