From: Jim Meyering Date: Fri, 13 May 1994 13:57:20 +0000 (+0000) Subject: . X-Git-Tag: textutils-1_12_1~696 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=323e95c8b38b10f06c3e44394abca87a84e03d28;p=thirdparty%2Fcoreutils.git . --- diff --git a/src/pathchk.c b/src/pathchk.c index b509102adc..76a3401a40 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -274,6 +274,11 @@ validate_path (path, portability) if (*path == '\0') return 0; +#ifdef lint + /* Suppress `used before initialized' warning. */ + exists = 0; +#endif + /* Figure out the parent of the first element in PATH. */ parent = xstrdup (*path == '/' ? "/" : "."); diff --git a/src/who.c b/src/who.c index b4feab53cb..d28d3733ab 100644 --- a/src/who.c +++ b/src/who.c @@ -97,7 +97,7 @@ char *xmalloc (); void error (); char *ttyname (); -char *gethostname (); +int gethostname (); static int read_utmp (); #ifdef WHO