changeset 1060:968041f10447

* src/mibgroup/mibII/helpers.c: Changed the definition of ifnet_addrs to an extern declaration because of multiple symbol definition errors when using a compiler that does not merge them.
author asl
date Mon, 23 Jun 2003 10:16:37 +0000
parents 4464de5a8dce
children 13900936a2c4
files packages/net/snmp/agent/current/ChangeLog packages/net/snmp/agent/current/src/mibgroup/mibII/helpers.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/snmp/agent/current/ChangeLog
+++ b/packages/net/snmp/agent/current/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-17  Michael Checky  <Michael_Checky@ThermoKing.com>
+  
+        * src/mibgroup/mibII/helpers.c: Changed the definition of
+	ifnet_addrs to an extern declaration because of multiple symbol
+	definition errors when using a compiler that does not merge them.
+ 
 2003-02-28  Andrew Lunn  <andrew.lunn@ascom.ch>
 
         * include/mibgroup/mibII/itf_helpers.h:
--- a/packages/net/snmp/agent/current/src/mibgroup/mibII/helpers.c
+++ b/packages/net/snmp/agent/current/src/mibgroup/mibII/helpers.c
@@ -60,7 +60,7 @@
 /* How many interfaces are there? */
 
 #ifdef CYGPKG_NET_FREEBSD_STACK
-struct ifaddr **ifnet_addrs;
+extern struct ifaddr **ifnet_addrs;
 
 long cyg_snmp_num_interfaces(void) {
   long long_ret=0;