1
0
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:
Paul Eggert
2010-12-20 17:40:31 -08:00
parent 41159f9604
commit 960fc61624
2 changed files with 0 additions and 8 deletions

View File

@@ -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

View File

@@ -49,10 +49,6 @@
proper_name ("David MacKenzie"), \
proper_name ("Michael Stone")
#ifndef MAXHOSTNAMELEN
# define MAXHOSTNAMELEN 64
#endif
#ifdef RUN_LVL
# define UT_TYPE_RUN_LVL(U) UT_TYPE_EQ (U, RUN_LVL)
#else