summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-09 23:48:01 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-09 23:48:01 +0000
commit55912afd6957d63e1b84134fc800799628c69354 (patch)
tree60de5eea91a5bdc7f58c4f1188959eecb98977a0
parent8c2a8a257639f401933e7a13c7f025f75a4689bf (diff)
(main) [current_tty_name]: Remove `const' keyword to avoid type clash.
-rw-r--r--utils/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ps.c b/utils/ps.c
index 45216189..8a096f51 100644
--- a/utils/ps.c
+++ b/utils/ps.c
@@ -436,7 +436,7 @@ main(int argc, char *argv[])
}
/* Returns the name of the current controlling terminal. */
- static const char *current_tty_name()
+ static char *current_tty_name()
{
error_t err;
struct ps_tty *tty;