radv/video: Match function definitions to declarations
authorBiswapriyo Nath <nathbappai@gmail.com>
Thu, 3 Aug 2023 06:14:09 +0000 (11:44 +0530)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 06:03:50 +0000 (06:03 +0000)
commit2a580bba76705bc6e6b1e850dd78fb56064af58f
tree5f5d0d72f09544166f7acc1edf06b047e246e94c
parentb13473efe967f79bcea8f7e1683cf194d4df726a
radv/video: Match function definitions to declarations

This adds the same function attributes from definitions to declarations
and fixes the following compiler errors for 32 bit Windows OS.

../src/amd/vulkan/radv_video.c:270:1: error: conflicting types for 'radv_CreateVideoSessionKHR'
src/amd/vulkan/radv_entrypoints.h:3963:34: note: previous declaration of 'radv_CreateVideoSessionKHR'
../src/amd/vulkan/radv_video.c:319:1: error: conflicting types for 'radv_DestroyVideoSessionKHR'
src/amd/vulkan/radv_entrypoints.h:3971:30: note: previous declaration of 'radv_DestroyVideoSessionKHR'

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24460>
src/amd/vulkan/radv_video.c