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/COMMON: Fix a compiler warning


Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/common/current/ChangeLog,v
retrieving revision 1.37
diff -u -5 -r1.37 ChangeLog
--- ChangeLog	15 Jul 2003 08:45:15 -0000	1.37
+++ ChangeLog	24 Jul 2003 18:07:27 -0000
@@ -1,5 +1,10 @@
+2003-07-24  Nick Garnett  <nickg@balti.calivar.com>
+
+	* src/dhcp_prot.c: Added a declaration for cyg_arc4random() to
+	eliminate a compiler warning.
+
 2003-07-15  Nick Garnett  <nickg@balti.calivar.com>
 
 	* include/net/netdb.h: Added include for <sys/param.h>. the in.h
 	file included later needs this.
 
Index: src/dhcp_prot.c
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/common/current/src/dhcp_prot.c,v
retrieving revision 1.9
diff -u -5 -r1.9 dhcp_prot.c
--- src/dhcp_prot.c	23 Apr 2003 08:52:09 -0000	1.9
+++ src/dhcp_prot.c	24 Jul 2003 18:07:30 -0000
@@ -69,10 +69,12 @@
 #ifdef INET6
 #include <net/if_var.h>
 #include <netinet6/in6_var.h>
 #endif
 
+extern int  cyg_arc4random(void);
+
 // ------------------------------------------------------------------------
 // Returns a pointer to the end of dhcp message (or NULL if invalid)
 // meaning the address of the byte *after* the TAG_END token in the vendor
 // data.
 


-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


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