summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-27 22:18:35 +0000
committerMiles Bader <miles@gnu.org>1996-03-27 22:18:35 +0000
commitdd37c8af576dda26848fd6294b1794949ee53965 (patch)
treea00b8011711c77e93d0fe6cc9d5179feb82d4abe
parent29cdaf08b7138959fee79172539b012d0ac5aea3 (diff)
(ps_tty_name): Use new `ps_' prefix for term rpcs.
Include "ps_term.h".
-rw-r--r--libps/tty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libps/tty.c b/libps/tty.c
index 9d89c665..9e7de577 100644
--- a/libps/tty.c
+++ b/libps/tty.c
@@ -27,6 +27,8 @@
#include "ps.h"
#include "common.h"
+
+#include "ps_term.h"
/* ---------------------------------------------------------------- */
@@ -69,7 +71,7 @@ ps_tty_name (struct ps_tty *tty)
{
string_t buf;
- if (term_get_nodename (tty->port, buf) != 0)
+ if (ps_term_get_nodename (tty->port, buf) != 0)
/* There is a terminal there, but we can't figure out its name. */
tty->name_state = PS_TTY_NAME_ERROR;
else