diff options
author | Eric Molitor <eric@molitor.org> | 2017-11-10 15:12:00 +0000 |
---|---|---|
committer | Eric Molitor <eric@molitor.org> | 2017-11-10 15:12:00 +0000 |
commit | 5be11a5c95457c6d4f6cd9720162f962286c2258 (patch) | |
tree | b4c85f381cee6db15c9defc313da4d2c6109b3b4 /include | |
parent | b5ad7a5232b919319eef1a198d731b308c0bb9cc (diff) |
Remove VLA from session.h
VLAs are optional C11 features and not supported by C++.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/backend/session.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h index 94002bc5..5c822ea9 100644 --- a/include/wlr/backend/session.h +++ b/include/wlr/backend/session.h @@ -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 |