changeset 1128:21aab473590c

* src/dhcp_prot.c: Added a declaration for cyg_arc4random() to eliminate a compiler warning.
author nickg
date Thu, 24 Jul 2003 18:07:45 +0000
parents 9ddd6c4d040b
children e5931b4baad9
files packages/net/common/current/ChangeLog packages/net/common/current/src/dhcp_prot.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/common/current/ChangeLog
+++ b/packages/net/common/current/ChangeLog
@@ -1,3 +1,8 @@
+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
--- a/packages/net/common/current/src/dhcp_prot.c
+++ b/packages/net/common/current/src/dhcp_prot.c
@@ -71,6 +71,8 @@
 #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