From 144c6536d076106b126049de9497bfc4982eca58 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 22 Sep 2005 07:01:07 +0000 Subject: Include canon-host.h rather than declaring canon_host ourselves. --- src/pinky.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pinky.c') diff --git a/src/pinky.c b/src/pinky.c index dc8e0f98b..d26697c9b 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; -- cgit v1.2.3-54-g00ecf