From d3281e16c2fc4a7448125eaaae11aba4ee563d72 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Tue, 8 Oct 1996 22:30:08 +0000 Subject: [PATCH] Fix an error in the description of "h_errno". Add "const" to a few declarations to make them agree with the actual prototypes in . --- lib/libc/net/gethostbyname.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index 702a116d52f5..59cf30875735 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -44,16 +44,16 @@ .Nd get network host entry .Sh SYNOPSIS .Fd #include -.Fd extern struct h_errno; +.Fd extern int h_errno; .Ft struct hostent * -.Fn gethostbyname "char *name" +.Fn gethostbyname "const char *name" .Ft struct hostent * -.Fn gethostbyaddr "char *addr" "int len" "int type" +.Fn gethostbyaddr "const char *addr" "int len" "int type" .Ft struct hostent * .Fn gethostent void .Fn sethostent "int stayopen" .Fn endhostent void -.Fn herror "char *string" +.Fn herror "const char *string" .Sh DESCRIPTION The .Fn gethostbyname