From 0341cae9223a984268b7af55e5e7418ea25aaabf Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 13 Jan 2018 15:49:20 +0530 Subject: [PATCH] Fix unused function warning --- kitty/glfw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/glfw.c b/kitty/glfw.c index e9874b555..cc072c2e2 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -148,6 +148,7 @@ static struct { int next_entry; } focus_history; +#ifdef __APPLE__ static inline id_type pop_focus_history() { int index = --focus_history.next_entry; @@ -160,6 +161,7 @@ pop_focus_history() { return result; } +#endif static inline void push_focus_history(OSWindow *w) {