mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
remove unused timespec_to_msec
This commit is contained in:
parent
ed88b11197
commit
9220225f1d
1 changed files with 0 additions and 4 deletions
|
@ -13,10 +13,6 @@
|
||||||
#include "sway/server.h"
|
#include "sway/server.h"
|
||||||
#include "sway/view.h"
|
#include "sway/view.h"
|
||||||
|
|
||||||
static inline int64_t timespec_to_msec(const struct timespec *a) {
|
|
||||||
return (int64_t)a->tv_sec * 1000 + a->tv_nsec / 1000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void output_frame_view(swayc_t *view, void *data) {
|
static void output_frame_view(swayc_t *view, void *data) {
|
||||||
struct sway_output *output = data;
|
struct sway_output *output = data;
|
||||||
struct wlr_output *wlr_output = output->wlr_output;
|
struct wlr_output *wlr_output = output->wlr_output;
|
||||||
|
|
Loading…
Reference in a new issue