mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
virtio/vpipe: Correct vdrm_vpipe_connect() definition
The vdrm_vpipe_connect() prototype defined in vdrm.c doesn't match
vdrm_vpipe_connect() defined in vdrm_vpipe.c. This leads to a compilation
warning about the wrong proto when Mesa linked with enabled LTO. Fix the
vdrm_vpipe_connect() definition.
Fixes: bf0e3d6274 ("virtio/vdrm: Add vtest backend")
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34819>
This commit is contained in:
parent
9ca71b52aa
commit
daad392d5c
1 changed files with 2 additions and 2 deletions
|
|
@ -774,10 +774,10 @@ init_shmem(struct vpipe_device *vtdev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct vdrm_device * vdrm_vpipe_connect(int fd, uint32_t context_type);
|
||||
struct vdrm_device * vdrm_vpipe_connect(uint32_t context_type);
|
||||
|
||||
struct vdrm_device *
|
||||
vdrm_vpipe_connect(int fd, uint32_t context_type)
|
||||
vdrm_vpipe_connect(uint32_t context_type)
|
||||
{
|
||||
struct vpipe_device *vtdev;
|
||||
struct vdrm_device *vdev = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue