From: Paul Eggert Date: Thu, 22 Sep 2005 07:01:07 +0000 (+0000) Subject: Include canon-host.h rather than declaring X-Git-Tag: v5.90~141 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=144c6536d076106b126049de9497bfc4982eca58;p=thirdparty%2Fcoreutils.git Include canon-host.h rather than declaring canon_host ourselves. --- diff --git a/src/pinky.c b/src/pinky.c index dc8e0f98b0..d26697c9b8 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -25,6 +25,7 @@ #include #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;