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:
Max Kellermann
2021-02-08 14:59:40 +01:00
committed by Max Kellermann
parent 01af2778ab
commit 6cdb3ff21e
20 changed files with 61 additions and 80 deletions

View File

@@ -35,7 +35,7 @@
#include <sys/utsname.h>
#include <stdio.h>
gcc_const
[[gnu::const]]
static KernelVersionCode
GetKernelVersionCode() noexcept
{