use [[gnu::pure]] instead of gcc_pure
This is semi-standard and doesn't require the util/Compiler.h header.
This commit is contained in:

committed by
Max Kellermann

parent
01af2778ab
commit
6cdb3ff21e
@@ -35,7 +35,7 @@
|
||||
#include <sys/utsname.h>
|
||||
#include <stdio.h>
|
||||
|
||||
gcc_const
|
||||
[[gnu::const]]
|
||||
static KernelVersionCode
|
||||
GetKernelVersionCode() noexcept
|
||||
{
|
||||
|
Reference in New Issue
Block a user