This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Net - pedantic <errno.h>


Index: net/common/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos-opt/net/net/common/current/ChangeLog,v
retrieving revision 1.6
diff -u -5 -p -r1.6 ChangeLog
--- net/common/current/ChangeLog	20 Jun 2002 22:05:58 -0000	1.6
+++ net/common/current/ChangeLog	10 Jul 2002 15:23:33 -0000
@@ -1,5 +1,12 @@
+2002-07-10  Gary Thomas  <gary@chez-thomas.org>
+
+	* src/inet_addr.c: 
+	* src/getproto.c: 
+	* src/dhcp_prot.c: 
+	* src/bootp_support.c: Pedantic - make sure "errno" is defined.
+
 2002-06-20  Gary Thomas  <gary@chez-thomas.org>
 
 	* src/inet_ntop.c: Fix build error when used with newer compilers.
 
 2002-06-05  Gary Thomas  <gary@chez-thomas.org>
Index: net/common/current/src/bootp_support.c
===================================================================
RCS file: /misc/cvsfiles/ecos-opt/net/net/common/current/src/bootp_support.c,v
retrieving revision 1.1
diff -u -5 -p -r1.1 bootp_support.c
--- net/common/current/src/bootp_support.c	20 May 2002 22:25:05 -0000	1.1
+++ net/common/current/src/bootp_support.c	10 Jul 2002 12:08:10 -0000
@@ -34,10 +34,11 @@
 #include <pkgconf/system.h>
 #include <pkgconf/net.h>
 #include <pkgconf/isoinfra.h>
 
 #include <network.h>
+#include <errno.h>
 #ifdef CYGPKG_NET_FREEBSD_STACK  // New layout
 #include <net/if_var.h>
 #include <netinet/in_var.h>
 #include <netinet6/nd6.h>
 #endif
Index: net/common/current/src/dhcp_prot.c
===================================================================
RCS file: /misc/cvsfiles/ecos-opt/net/net/common/current/src/dhcp_prot.c,v
retrieving revision 1.3
diff -u -5 -p -r1.3 dhcp_prot.c
--- net/common/current/src/dhcp_prot.c	5 Jun 2002 13:16:29 -0000	1.3
+++ net/common/current/src/dhcp_prot.c	10 Jul 2002 12:08:11 -0000
@@ -36,10 +36,11 @@
 #define perror( txt ) // nothing
 #endif
 
 #include <network.h>
 #include <dhcp.h>
+#include <errno.h>
 
 #include <cyg/infra/cyg_ass.h>
 
 // ------------------------------------------------------------------------
 // Returns a pointer to the end of dhcp message (or NULL if invalid)
Index: net/common/current/src/getproto.c
===================================================================
RCS file: /misc/cvsfiles/ecos-opt/net/net/common/current/src/getproto.c,v
retrieving revision 1.1
diff -u -5 -p -r1.1 getproto.c
--- net/common/current/src/getproto.c	20 May 2002 22:25:05 -0000	1.1
+++ net/common/current/src/getproto.c	10 Jul 2002 12:01:49 -0000
@@ -29,10 +29,11 @@
 //
 //==========================================================================
 
 #include <sys/param.h>
 #include <netdb.h>
+#include <errno.h>
 
 static struct protoent protocols[] = {
     { "ip",         0}, // internet protocol, pseudo protocol number
     { "icmp",       1}, // internet control message protocol
     { "igmp",       2}, // Internet Group Management
Index: net/common/current/src/inet_addr.c
===================================================================
RCS file: /misc/cvsfiles/ecos-opt/net/net/common/current/src/inet_addr.c,v
retrieving revision 1.1
diff -u -5 -p -r1.1 inet_addr.c
--- net/common/current/src/inet_addr.c	20 May 2002 22:25:05 -0000	1.1
+++ net/common/current/src/inet_addr.c	10 Jul 2002 12:08:10 -0000
@@ -103,11 +103,11 @@ static char rcsid[] = "$OpenBSD: inet_ad
 #include <pkgconf/net.h>
 #undef _KERNEL
 #include <sys/param.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
-#include <sys/errno.h>
+#include <errno.h>
 
 #include <net/if.h>
 #include <netinet/in.h>
 #else
 #include <sys/types.h>




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]