Blob Blame History Raw
diff -ur bandwidthd-2.0.1/bandwidthd.c bandwidthd-2.0.1.sal/bandwidthd.c
--- bandwidthd-2.0.1/bandwidthd.c	2015-06-17 08:32:09.107759233 +0200
+++ bandwidthd-2.0.1.sal/bandwidthd.c	2015-06-17 08:32:28.097495172 +0200
@@ -1255,7 +1255,7 @@
 
 size_t ICGrandTotalDataPoints = 0;
 
-char inline *HostIp2CharIp(unsigned long ipaddr, char *buffer)
+__attribute__ ((gnu_inline)) char inline *HostIp2CharIp(unsigned long ipaddr, char *buffer)
     {
 	struct in_addr in_addr;
 	char *s;
diff -ur bandwidthd-2.0.1/bandwidthd.c.dest bandwidthd-2.0.1.sal/bandwidthd.c.dest
--- bandwidthd-2.0.1/bandwidthd.c.dest	2005-01-11 22:27:26.000000000 +0100
+++ bandwidthd-2.0.1.sal/bandwidthd.c.dest	2015-06-17 08:52:20.346954108 +0200
@@ -1242,7 +1242,7 @@
 
 size_t ICGrandTotalDataPoints = 0;
 
-char inline *HostIp2CharIp(unsigned long ipaddr, char *buffer)
+__attribute__ ((gnu_inline)) char inline *HostIp2CharIp(unsigned long ipaddr, char *buffer)
     {
 	struct in_addr in_addr;
 	char *s;
diff -ur bandwidthd-2.0.1/bandwidthd.c.nodevs bandwidthd-2.0.1.sal/bandwidthd.c.nodevs
--- bandwidthd-2.0.1/bandwidthd.c.nodevs	2015-06-17 08:32:09.105759261 +0200
+++ bandwidthd-2.0.1.sal/bandwidthd.c.nodevs	2015-06-17 08:52:30.107817845 +0200
@@ -1250,7 +1250,7 @@
 
 size_t ICGrandTotalDataPoints = 0;
 
-char inline *HostIp2CharIp(unsigned long ipaddr, char *buffer)
+__attribute__ ((gnu_inline)) char inline *HostIp2CharIp(unsigned long ipaddr, char *buffer)
     {
 	struct in_addr in_addr;
 	char *s;
diff -ur bandwidthd-2.0.1/bandwidthd.h bandwidthd-2.0.1.sal/bandwidthd.h
--- bandwidthd-2.0.1/bandwidthd.h	2015-06-17 08:32:09.105759261 +0200
+++ bandwidthd-2.0.1.sal/bandwidthd.h	2015-06-17 08:52:00.842226393 +0200
@@ -194,7 +194,7 @@
 void RecoverDataFromCDF(void);
 
 // ************ This function converts and IP to a char string
-char inline 	*HostIp2CharIp(unsigned long ipaddr, char *buffer);
+__attribute__ ((gnu_inline)) char inline 	*HostIp2CharIp(unsigned long ipaddr, char *buffer);
 
 // ************ This function converts the numbers for each quad into an IP
 inline uint32_t IpAddr(unsigned char q1, unsigned char q2, unsigned char q3, unsigned char q4);