mesa/src/android_stub/sync_stub.cpp
Tomeu Vizoso a5c96cb705 android: Cleanup unneeded headers from the sync stub
These were probably copy pasted from the previous unified stub.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019>
2023-01-25 08:58:25 -03:00

25 lines
314 B
C++

#include <sync/sync.h>
extern "C" {
/* timeout in msecs */
int sync_wait(int fd, int timeout)
{
return 0;
}
int sync_merge(const char *name, int fd, int fd2)
{
return 0;
}
struct sync_file_info* sync_file_info(int32_t fd)
{
return NULL;
}
void sync_file_info_free(struct sync_file_info* info)
{
}
}