Merge pull request #1490 from acrisci/bug/unused-timepsec-func

remove unused timepsec func
This commit is contained in:
Drew DeVault 2017-12-03 08:54:50 -05:00 committed by GitHub
commit 65f9508fc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;