summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2018-08-20 09:24:05 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commitdb8eb583bbb21caa208bd8252800092c626f7511 (patch)
tree4e58c65694c6fe45f0118cead01162cc3d2039ca
parent92848a096ef6688d8883e34cc54fcfa02b8b4a13 (diff)
Prep v239: terminal-util.[hc] - Mask new 'urlify' functions, we do not need them.
-rw-r--r--src/basic/terminal-util.c8
-rw-r--r--src/basic/terminal-util.h2
2 files changed, 7 insertions, 3 deletions
diff --git a/src/basic/terminal-util.c b/src/basic/terminal-util.c
index 480c72e8d..f8623f9fd 100644
--- a/src/basic/terminal-util.c
+++ b/src/basic/terminal-util.c
@@ -3,9 +3,9 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
-//#include <linux/kd.h>
-//#include <linux/tiocl.h>
-//#include <linux/vt.h>
+#include <linux/kd.h>
+#include <linux/tiocl.h>
+#include <linux/vt.h>
//#include <poll.h>
//#include <signal.h>
#include <stdarg.h>
@@ -1297,6 +1297,7 @@ int vt_reset_keyboard(int fd) {
return 0;
}
+#if 0 /// UNNEEDED by elogind
static bool urlify_enabled(void) {
static int cached_urlify_enabled = -1;
@@ -1468,3 +1469,4 @@ void print_separator(void) {
} else
fputs("\n\n", stdout);
}
+#endif // 0
diff --git a/src/basic/terminal-util.h b/src/basic/terminal-util.h
index 611cb6e71..05b65972b 100644
--- a/src/basic/terminal-util.h
+++ b/src/basic/terminal-util.h
@@ -170,6 +170,7 @@ int open_terminal_in_namespace(pid_t pid, const char *name, int mode);
int vt_default_utf8(void);
int vt_reset_keyboard(int fd);
+#if 0 /// UNNEEDED by elogind
int terminal_urlify(const char *url, const char *text, char **ret);
int terminal_urlify_path(const char *path, const char *text, char **ret);
@@ -180,3 +181,4 @@ typedef enum CatFlags {
int cat_files(const char *file, char **dropins, CatFlags flags);
void print_separator(void);
+#endif // 0