Commit c5930371 authored by Dave Airlie's avatar Dave Airlie

vtest: fix protocol decls.

Fixes: 298059b9 (vtest: refactorized the run_renderer function)
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent b344d957
......@@ -45,8 +45,8 @@ int vtest_resource_busy_wait(uint32_t length_dw);
int vtest_renderer_create_fence(void);
int vtest_poll(void);
int vtest_ping_protocol_version(void);
int vtest_protocol_version(void);
int vtest_ping_protocol_version(uint32_t length_dw);
int vtest_protocol_version(uint32_t length_dw);
void vtest_destroy_renderer(void);
#endif
......
......@@ -232,7 +232,7 @@ end:
return ret;
}
int vtest_ping_protocol_version(void)
int vtest_ping_protocol_version(UNUSED uint32_t length_dw)
{
uint32_t hdr_buf[VTEST_HDR_SIZE];
int ret;
......@@ -245,7 +245,7 @@ int vtest_ping_protocol_version(void)
return 0;
}
int vtest_protocol_version(void)
int vtest_protocol_version(UNUSED uint32_t length_dw)
{
uint32_t hdr_buf[VTEST_HDR_SIZE];
uint32_t version_buf[VCMD_PROTOCOL_VERSION_SIZE];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment