bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: Remove unneeded include from getaddrinfo.c


From: Derek Price
Subject: FYI: Remove unneeded include from getaddrinfo.c
Date: Tue, 20 Sep 2005 12:44:41 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

<netdb.h> was already #included via getaddrinfo.h:

2005-09-20  Derek Price  <address@hidden>

        * getaddrinfo.c: Don't include <netdb.h> included from
getaddrinfo.h.

Regards,

Derek

-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 717.579.6168
f: +1 717.234.3125
<mailto:address@hidden>

Index: lib/getaddrinfo.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/getaddrinfo.c,v
retrieving revision 1.5
diff -u -p -r1.5 getaddrinfo.c
--- lib/getaddrinfo.c   19 Sep 2005 17:28:14 -0000      1.5
+++ lib/getaddrinfo.c   20 Sep 2005 16:39:05 -0000
@@ -28,9 +28,6 @@
 /* Get memcpy. */
 #include <string.h>
 
-/* Get struct hostent. */
-#include <netdb.h>
-
 #include <stdbool.h>
 
 #include "gettext.h"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]