]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(Host Names): Remove statement that h_errno needs to be declared since
authorUlrich Drepper <drepper@redhat.com>
Thu, 27 May 1999 11:32:22 +0000 (11:32 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 27 May 1999 11:32:22 +0000 (11:32 +0000)
this isn't true anymore.

manual/socket.texi

index 5f31dd47d87057b012896ab132c51f43b90af073..f8564ab5bb372aa43c0d6a51b50cb2bb2a128798 100644 (file)
@@ -1236,12 +1236,7 @@ If the name lookup by @code{gethostbyname} or @code{gethostbyaddr}
 fails, you can find out the reason by looking at the value of the
 variable @code{h_errno}.  (It would be cleaner design for these
 functions to set @code{errno}, but use of @code{h_errno} is compatible
-with other systems.)  Before using @code{h_errno}, you must declare it
-like this:
-
-@smallexample
-extern int h_errno;
-@end smallexample
+with other systems.)
 
 Here are the error codes that you may find in @code{h_errno}: