aboutsummaryrefslogtreecommitdiff
path: root/examples/layer-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/layer-shell.c')
-rw-r--r--examples/layer-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/layer-shell.c b/examples/layer-shell.c
index ec25fe42..21ef3e93 100644
--- a/examples/layer-shell.c
+++ b/examples/layer-shell.c
@@ -149,7 +149,7 @@ static void draw(void) {
demo.last_frame = ts;
}
-static void draw_popup() {
+static void draw_popup(void) {
static float alpha_mod = -0.01;
eglMakeCurrent(egl.display, popup_egl_surface, popup_egl_surface, egl.context);
@@ -188,7 +188,7 @@ static void xdg_popup_configure(void *data, struct xdg_popup *xdg_popup,
}
}
-static void popup_destroy() {
+static void popup_destroy(void) {
wlr_egl_destroy_surface(&egl, popup_egl_surface);
wl_egl_window_destroy(popup_egl_window);
xdg_popup_destroy(popup);