spirv_to_dxil: Fix missing-prototypes build error.

../src/microsoft/spirv_to_dxil/spirv_to_dxil.c: At top level:
../src/microsoft/spirv_to_dxil/spirv_to_dxil.c:200:1: error: no previous prototype for ‘spirv_to_dxil_get_version’ [-Werror=missing-prototypes]
  200 | spirv_to_dxil_get_version()
      | ^~~~~~~~~~~~~~~~~~~~~~~~~

Fixes: 92b0cf8e77 ("spirv_to_dxil: expose version number")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12264>
This commit is contained in:
Vinson Lee
2021-08-06 22:55:58 -07:00
parent e5311eae0c
commit 87efa1ee22

View File

@@ -96,7 +96,7 @@ void
spirv_to_dxil_free(void* buffer);
uint64_t
spirv_to_dxil_get_version();
spirv_to_dxil_get_version(void);
#ifdef __cplusplus
}