Remove VLA from session.h

VLAs are optional C11 features and not supported by C++.
This commit is contained in:
Eric Molitor 2017-11-10 15:12:00 +00:00
parent b5ad7a5232
commit 5be11a5c95
2 changed files with 2 additions and 2 deletions

View file

@ -79,6 +79,6 @@ void wlr_session_signal_add(struct wlr_session *session, int fd,
bool wlr_session_change_vt(struct wlr_session *session, unsigned vt);
size_t wlr_session_find_gpus(struct wlr_session *session,
size_t ret_len, int ret[static ret_len]);
size_t ret_len, int *ret);
#endif