mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +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> (cherry picked from commitdaad392d5c)
This commit is contained in:
parent
8b8ca028a0
commit
e7c1f35024
2 changed files with 3 additions and 3 deletions
|
|
@ -94,7 +94,7 @@
|
|||
"description": "virtio/vpipe: Correct vdrm_vpipe_connect() definition",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "bf0e3d6274bac0190a6d4d90afbd2a9a6bec249d",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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