mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-20 18:56:39 +02:00
who: omit useless definitions of MAXHOSTNAMELEN
This prevents a compilation failure on Solaris 8, GCC 4.4.2, with "configure --enable-gcc-warnings". * src/who.c (MAXHOSTNAMELEN): Remove; no longer needed. * src/pinky.c: Likewise.
This commit is contained in:
@@ -37,10 +37,6 @@
|
||||
proper_name ("David MacKenzie"), \
|
||||
proper_name ("Kaveh Ghazi")
|
||||
|
||||
#ifndef MAXHOSTNAMELEN
|
||||
# define MAXHOSTNAMELEN 64
|
||||
#endif
|
||||
|
||||
char *ttyname (int);
|
||||
|
||||
/* If true, display the hours:minutes since each user has touched
|
||||
|
||||
Reference in New Issue
Block a user