From 86af2dfa2993ef2354c2eb753c7bad8393cafd28 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 27 Jul 2002 21:31:50 +0000 Subject: (UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Remove definitions. Now they're defined in readutmp.h. (print_deadprocs): Remove obsolete FIXME comment. --- src/who.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/who.c b/src/who.c index 156c7bc16..95db2d5f7 100644 --- a/src/who.c +++ b/src/who.c @@ -97,14 +97,6 @@ # define UT_ID(U) "??" #endif -#if HAVE_STRUCT_XTMP_UT_EXIT -# define UT_EXIT_E_TERMINATION(U) ((U)->ut_exit.e_termination) -# define UT_EXIT_E_EXIT(U) ((U)->ut_exit.e_exit) -#else -# define UT_EXIT_E_TERMINATION(U) 0 -# define UT_EXIT_E_EXIT(U) 0 -#endif - #define UT_TYPE_UNDEF 255 #if HAVE_STRUCT_XTMP_UT_TYPE @@ -407,7 +399,6 @@ print_deadprocs (const STRUCT_UTMP *utmp_ent) char *comment = make_id_equals_comment (utmp_ent); PIDSTR_DECL_AND_INIT (pidstr, utmp_ent); - /* FIXME: ut_exit works with GNU/Linux but is probably not portable. */ if (!exitstr) exitstr = xmalloc (sizeof (_("term=")) + INT_STRLEN_BOUND (UT_EXIT_E_TERMINATION (utmp_ent)) + 1 -- cgit v1.2.3-54-g00ecf