Fix unused function warning

This commit is contained in:
Kovid Goyal 2018-01-13 15:49:20 +05:30
parent 5357a9a1cc
commit 0341cae922
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -148,6 +148,7 @@ static struct {
int next_entry; int next_entry;
} focus_history; } focus_history;
#ifdef __APPLE__
static inline id_type static inline id_type
pop_focus_history() { pop_focus_history() {
int index = --focus_history.next_entry; int index = --focus_history.next_entry;
@ -160,6 +161,7 @@ pop_focus_history() {
return result; return result;
} }
#endif
static inline void static inline void
push_focus_history(OSWindow *w) { push_focus_history(OSWindow *w) {