From 323e95c8b38b10f06c3e44394abca87a84e03d28 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 13 May 1994 13:57:20 +0000 Subject: [PATCH] . --- src/pathchk.c | 5 +++++ src/who.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pathchk.c b/src/pathchk.c index b509102..76a3401 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 b4feab5..d28d373 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 -- 2.7.4