diff options
author | Jim Meyering <jim@meyering.net> | 1994-05-13 13:57:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-05-13 13:57:20 +0000 |
commit | 323e95c8b38b10f06c3e44394abca87a84e03d28 (patch) | |
tree | 7555e23bf3ee1339764bb12aa7b11e8c32cc932b | |
parent | af6e86c53709b2823d46903f5c8d1e56e5bd714c (diff) | |
download | coreutils-323e95c8b38b10f06c3e44394abca87a84e03d28.tar.xz |
.
-rw-r--r-- | src/pathchk.c | 5 | ||||
-rw-r--r-- | src/who.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/pathchk.c b/src/pathchk.c index b509102ad..76a3401a4 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 == '/' ? "/" : "."); @@ -97,7 +97,7 @@ char *xmalloc (); void error (); char *ttyname (); -char *gethostname (); +int gethostname (); static int read_utmp (); #ifdef WHO |