Mercurial > gnulib
changeset 21313:60ce0d43aac4
protoize
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 07 Jan 1999 03:43:01 +0000 |
parents | 495fb24adb6e |
children | 5ca2894200f5 |
files | lib/canon-host.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/canon-host.c Tue Jan 05 04:29:34 1999 +0000 +++ b/lib/canon-host.c Thu Jan 07 03:43:01 1999 +0000 @@ -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 <miles@gnu.ai.mit.edu> @@ -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);