]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include canon-host.h rather than declaring
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Sep 2005 07:01:07 +0000 (07:01 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Sep 2005 07:01:07 +0000 (07:01 +0000)
canon_host ourselves.

src/pinky.c

index dc8e0f98b02740aab087915a8d74e04a36f19851..d26697c9b89e849ce19531113e007bc77f186735 100644 (file)
@@ -25,6 +25,7 @@
 #include <sys/types.h>
 #include "system.h"
 
+#include "canon-host.h"
 #include "error.h"
 #include "hard-locale.h"
 #include "inttostr.h"
@@ -286,7 +287,6 @@ print_entry (const STRUCT_UTMP *utmp_ent)
 #ifdef HAVE_UT_HOST
   if (include_where && utmp_ent->ut_host[0])
     {
-      extern char *canon_host ();
       char ut_host[sizeof (utmp_ent->ut_host) + 1];
       char *host = NULL;
       char *display = NULL;