From 83dae4510ddb4afd8acf584a229604f703aac871 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 14 Mar 2006 23:30:38 +0000 Subject: 2006-03-15 Thomas Schwinge * 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. --- utils/ps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/ps.c') 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 @@ -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; -- cgit v1.2.3