summaryrefslogtreecommitdiff
path: root/utils/ps.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-03-14 23:30:38 +0000
committerThomas Schwinge <tschwinge@gnu.org>2006-03-14 23:30:38 +0000
commit83dae4510ddb4afd8acf584a229604f703aac871 (patch)
tree18b279d507d0cc025b79c15fd79c18d1e1b262be /utils/ps.c
parentd8aadb4381fb4d49c70a943d40b78ef84685e96a (diff)
2006-03-15 Thomas Schwinge <tschwinge@gnu.org>
* ps.c (current_tty_name): Don't declare as static. * rpctrace.c (print_contents): Don't use ?: as a lvalue. (msgids_file_p): Don't declare as static.
Diffstat (limited to 'utils/ps.c')
-rw-r--r--utils/ps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ps.c b/utils/ps.c
index 615852fd..6f209655 100644
--- a/utils/ps.c
+++ b/utils/ps.c
@@ -1,6 +1,6 @@
/* Show process information.
- Copyright (C) 1995,96,97,98,99,2002 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,98,99,2002,2006 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
@@ -249,7 +249,7 @@ main(int argc, char *argv[])
}
/* Returns the name of the current controlling terminal. */
- static const char *current_tty_name()
+ const char *current_tty_name()
{
error_t err;
struct ps_tty *tty;