# HG changeset patch # User Jim Meyering # Date 915680581 0 # Node ID a06f8d82d4de8d6c0183ffe463bf11710e6b1bea # Parent d630c278b6981bb043f0b0eebdd37677ec8a6417 protoize diff --git a/lib/canon-host.c b/lib/canon-host.c --- 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);