summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-22 07:01:24 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-22 07:01:24 +0000
commit211a8d5cb0c98a50a4f191b2abbee2678ede0b85 (patch)
tree1b9739bb348c04e44fa8cfe9b2db43753f617703 /src
parent144c6536d076106b126049de9497bfc4982eca58 (diff)
downloadcoreutils-211a8d5cb0c98a50a4f191b2abbee2678ede0b85.tar.xz
Include canon-host.h rather than declaring canon_host ourselves.
Diffstat (limited to 'src')
-rw-r--r--src/who.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who.c b/src/who.c
index bf70891b0..0ccb4566c 100644
--- a/src/who.c
+++ b/src/who.c
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include "system.h"
+#include "canon-host.h"
#include "readutmp.h"
#include "error.h"
#include "hard-locale.h"
@@ -99,7 +100,6 @@
#endif
char *ttyname ();
-char *canon_host ();
/* The name this program was run with. */
char *program_name;