Move get_time() helper back into compositor
This commit is contained in:
@@ -516,16 +516,6 @@ wl_display_destroy(struct wl_display *display)
|
||||
free(display);
|
||||
}
|
||||
|
||||
WL_EXPORT uint32_t
|
||||
wl_display_get_time(struct wl_display *display)
|
||||
{
|
||||
struct timeval tv;
|
||||
|
||||
gettimeofday(&tv, NULL);
|
||||
|
||||
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
||||
}
|
||||
|
||||
WL_EXPORT void
|
||||
wl_display_add_object(struct wl_display *display, struct wl_object *object)
|
||||
{
|
||||
|
||||
@@ -178,9 +178,6 @@ wl_display_set_compositor(struct wl_display *display,
|
||||
struct wl_compositor *compositor,
|
||||
const struct wl_compositor_interface *implementation);
|
||||
|
||||
uint32_t
|
||||
wl_display_get_time(struct wl_display *display);
|
||||
|
||||
void
|
||||
wl_display_post_frame(struct wl_display *display, uint32_t msecs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user