From b5422700c05a102d418faa60f93287b7abcf44db Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 1 Apr 2016 09:49:36 -0400 Subject: [PATCH] elput: Remove vt activate/restore from input manager interface As this library is just going to deal with libinput, we don't need to have interface functions to activate or restore a virtual terminal. Signed-off-by: Chris Michael --- src/lib/elput/elput_logind.c | 2 -- src/lib/elput/elput_private.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c index ec3cb7ea75..c89ca2ae46 100644 --- a/src/lib/elput/elput_logind.c +++ b/src/lib/elput/elput_logind.c @@ -561,8 +561,6 @@ Elput_Interface _logind_interface = _logind_disconnect, _logind_open, _logind_close, - NULL, - NULL, }; #endif diff --git a/src/lib/elput/elput_private.h b/src/lib/elput/elput_private.h index 74532d57d9..c500a559c1 100644 --- a/src/lib/elput/elput_private.h +++ b/src/lib/elput/elput_private.h @@ -62,8 +62,6 @@ typedef struct _Elput_Interface void (*disconnect)(Elput_Manager *manager); int (*open)(Elput_Manager *manager, const char *path, int flags); void (*close)(Elput_Manager *manager, int fd); - int (*activate)(Elput_Manager *manager, int vt); - void (*restore)(Elput_Manager *manager); } Elput_Interface; struct _Elput_Manager