aboutsummaryrefslogtreecommitdiff
path: root/session/session.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-07-09 22:28:19 -0400
committerGitHub <noreply@github.com>2017-07-09 22:28:19 -0400
commitbe064df25ee7c03543bb86d27addaa297682fba7 (patch)
tree8b70817fe1ca341cb9868f49f4127e4e987da68a /session/session.c
parent8920b5d607c6b3b5d04894fc1837ac4f2d9558ae (diff)
parentceef12cb5a2a9347a1494332d320742c92fbd539 (diff)
Merge pull request #25 from ascent12/forking
Forking session backend
Diffstat (limited to 'session/session.c')
-rw-r--r--session/session.c6
1 files changed, 2 insertions, 4 deletions
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);
}