chiark / gitweb /
Prep v230: Add utmp support to make wall message to work properly.
[elogind.git] / src / basic / terminal-util.c
index cb1e6a0190ea7a71984ff6233106be340b8657c0..cb75ad7c1defd64ba891262a05ac15d55706b2ff 100644 (file)
@@ -856,7 +856,6 @@ int make_null_stdio(void) {
         return make_stdio(null_fd);
 }
 
-#if 0 /// UNNEEDED by elogind
 int getttyname_malloc(int fd, char **ret) {
         size_t l = 100;
         int r;
@@ -906,7 +905,6 @@ int getttyname_harder(int fd, char **r) {
         *r = s;
         return 0;
 }
-#endif // 0
 
 int get_ctty_devnr(pid_t pid, dev_t *d) {
         int r;