diff options
author | Eric Engestrom <eric.engestrom@intel.com> | 2019-12-17 23:01:08 +0000 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-01-19 16:08:31 -0800 |
commit | 63d06ad3c30483577f194d1d1faafc4fe23aeef3 (patch) | |
tree | ae3d2fc6d951b9ce542ba9a0dac41384e4006975 /tests/nouveau | |
parent | fa80f49df8c3355c754a908722a422c610b6110a (diff) |
use standard `__typeof__()` instead of GNU extension `typeof()`
And switch to c_std=c99. This simplifies using libdrm as a meson
subproject for mesa.
v2: (dylan)
- switch to c99 as the standard
- Fix amdgpu security tests as well
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Emma Anholt <emma@anholt.net>
Diffstat (limited to 'tests/nouveau')
-rw-r--r-- | tests/nouveau/threaded.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nouveau/threaded.c b/tests/nouveau/threaded.c index ddbac74e..eaa469e0 100644 --- a/tests/nouveau/threaded.c +++ b/tests/nouveau/threaded.c @@ -31,7 +31,7 @@ #include "xf86drm.h" #include "nouveau.h" -static typeof(ioctl) *old_ioctl; +static __typeof__(ioctl) *old_ioctl; static int failed; static int import_fd; |