use standard `__typeof__()` instead of GNU extension `typeof()`
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 17 Dec 2019 23:01:08 +0000 (23:01 +0000)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 20 Jan 2022 00:08:31 +0000 (16:08 -0800)
commit63d06ad3c30483577f194d1d1faafc4fe23aeef3
treeae3d2fc6d951b9ce542ba9a0dac41384e4006975
parentfa80f49df8c3355c754a908722a422c610b6110a
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>
libdrm_lists.h
meson.build
tests/amdgpu/security_tests.c
tests/nouveau/threaded.c
util_double_list.h