From 8ba97d963e065c7bc711c4ffa921fd3b06ed8aff Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 29 Jun 1998 16:23:15 +0000 Subject: Include system.h only after error.h and readutmp.h so we don't get redefinition warnings about getc, etc. Revert back to using lower case _unlocked wrapper names. --- src/who.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/who.c') diff --git a/src/who.c b/src/who.c index 519327fe4..59f14290c 100644 --- a/src/who.c +++ b/src/who.c @@ -1,5 +1,5 @@ /* GNU's who. - Copyright (C) 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. + Copyright (C) 92, 93, 94, 95, 96, 1997, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,9 +27,9 @@ #include #include -#include "system.h" #include "error.h" #include "readutmp.h" +#include "system.h" #ifndef MAXHOSTNAMELEN # define MAXHOSTNAMELEN 64 @@ -202,7 +202,7 @@ print_entry (const STRUCT_UTMP *utmp_ent) } #endif - PUTCHAR ('\n'); + putchar ('\n'); } /* Print the username of each valid entry and the number of valid entries -- cgit v1.2.3-54-g00ecf