chiark / gitweb /
Prep v239: terminal-util.[hc] - Mask new 'urlify' functions, we do not need them.
[elogind.git] / src / basic / terminal-util.c
index dab4f10b06700ffebdd179cda3ba11ca2d108810..f8623f9fdac777b1e1f57034c7821566af8a8b2f 100644 (file)
@@ -1,14 +1,11 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
-/***
-  Copyright 2010 Lennart Poettering
-***/
 
 #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>
@@ -1300,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;
 
@@ -1471,3 +1469,4 @@ void print_separator(void) {
         } else
                 fputs("\n\n", stdout);
 }
+#endif // 0