Include canon-host.h rather than declaring canon_host ourselves.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Sep 2005 07:01:24 +0000 (07:01 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Sep 2005 07:01:24 +0000 (07:01 +0000)
src/who.c

index bf70891b0b165c8d571ff5bd71fadcf91d0d680b..0ccb4566c2c9fd92dbde224bd87c203863bfef7f 100644 (file)
--- 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"
 #endif
 
 char *ttyname ();
-char *canon_host ();
 
 /* The name this program was run with. */
 char *program_name;