From: Jim Meyering Date: Thu, 7 Jan 1999 03:43:01 +0000 (+0000) Subject: protoize X-Git-Tag: FILEUTILS-4_1-b3~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=955e21bb838f9675c2951caabaf6ab94c0e51d78;p=thirdparty%2Fcoreutils.git protoize --- diff --git a/lib/canon-host.c b/lib/canon-host.c index 39d8789111..db195385f4 100644 --- a/lib/canon-host.c +++ b/lib/canon-host.c @@ -1,6 +1,6 @@ /* Host name canonicalization - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1999 Free Software Foundation, Inc. Written by Miles Bader @@ -46,8 +46,7 @@ /* Returns the canonical hostname associated with HOST (allocated in a static buffer), or 0 if it can't be determined. */ char * -canon_host (host) - char *host; +canon_host (const char *host) { #ifdef HAVE_GETHOSTBYNAME struct hostent *he = gethostbyname (host);