From bd5bca52830e78364ab48efb0f6e4d0f1d9773db Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Sun, 9 Jul 2017 17:53:13 +1200 Subject: Added public fields to wlr_session --- session/session.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'session/session.c') diff --git a/session/session.c b/session/session.c index 9de93b1d..6f6aa2ea 100644 --- a/session/session.c +++ b/session/session.c @@ -33,9 +33,7 @@ void wlr_session_finish(struct wlr_session *session) { session->impl->finish(session); }; -int wlr_session_open_file(struct wlr_session *restrict session, - const char *restrict path) { - +int wlr_session_open_file(struct wlr_session *session, const char *path) { return session->impl->open(session, path); } @@ -43,6 +41,6 @@ void wlr_session_close_file(struct wlr_session *session, int fd) { session->impl->close(session, fd); } -bool wlr_session_change_vt(struct wlr_session *session, int vt) { +bool wlr_session_change_vt(struct wlr_session *session, unsigned vt) { return session->impl->change_vt(session, vt); } -- cgit v1.2.3