aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/c.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r--mesonbuild/compilers/c.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
index 513a8e2..b1b4a7c 100644
--- a/mesonbuild/compilers/c.py
+++ b/mesonbuild/compilers/c.py
@@ -53,9 +53,7 @@ else:
class CCompiler(CLikeCompiler, Compiler):
-
- @staticmethod
- def attribute_check_func(name: str) -> str:
+ def attribute_check_func(self, name: str) -> str:
try:
return C_FUNC_ATTRIBUTES[name]
except KeyError: