+2
−2
Loading
'typeof' is a GNU extension - let's use __typeof__ instead which is ISO C compliant. Allows building SPDK header files with -std=c11 as long as _GNU_SOURCE is also defined. Next patch will enable omitting _GNU_SOURCE as well. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Ibd6c984627b553d6f87f302800abc52157fe9b1e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8332 Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Jacek Kalwas <jacek.kalwas@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot