From dfa9277867617309566f4964e91841636ed5a621 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 6 Dec 2022 15:06:27 +0000 Subject: [PATCH] remove double semicolons --- src/defines.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/defines.hpp b/src/defines.hpp index 7f2c6e45..6e6278bc 100644 --- a/src/defines.hpp +++ b/src/defines.hpp @@ -18,10 +18,10 @@ #define ISDEBUG false #endif -#define LISTENER(name) void listener_##name(wl_listener*, void*); inline wl_listener listen_##name = { .notify = listener_##name }; -#define DYNLISTENFUNC(name) void listener_##name(void*, void*); -#define DYNLISTENER(name) CHyprWLListener hyprListener_##name; -#define DYNMULTILISTENER(name) wl_listener listen_##name; +#define LISTENER(name) void listener_##name(wl_listener*, void*); inline wl_listener listen_##name = { .notify = listener_##name } +#define DYNLISTENFUNC(name) void listener_##name(void*, void*) +#define DYNLISTENER(name) CHyprWLListener hyprListener_##name +#define DYNMULTILISTENER(name) wl_listener listen_##name #define VECINRECT(vec, x1, y1, x2, y2) (vec.x >= (x1) && vec.x <= (x2) && vec.y >= (y1) && vec.y <= (y2))