0003-Solve-issue-25-Removing-type-U64-from-net-snmp-relat.patch 829 B

12345678910111213141516171819202122232425262728
  1. From 84157b11e8f27318f7291823c657f6313c3b60af Mon Sep 17 00:00:00 2001
  2. From: Jan Breuer <jan.breuer@jaybee.cz>
  3. Date: Tue, 12 Jul 2016 18:07:08 +0200
  4. Subject: [PATCH] Solve issue #25 - Removing type U64 from net-snmp related
  5. code
  6. [Thomas: Backport to 2.3.1.]
  7. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
  8. ---
  9. src/dep/snmp.c | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/src/dep/snmp.c b/src/dep/snmp.c
  12. index 5c08aaa..3086c86 100644
  13. --- a/src/dep/snmp.c
  14. +++ b/src/dep/snmp.c
  15. @@ -221,7 +221,7 @@ snmpHeaderIndexBest(struct snmpHeaderIndex *idx)
  16. #define SNMP_LOCAL_VARIABLES \
  17. static unsigned long long_ret; \
  18. - static U64 counter64_ret; \
  19. + static struct counter64 counter64_ret; \
  20. static uint32_t ipaddr; \
  21. Integer64 bigint; \
  22. struct snmpHeaderIndex idx; \
  23. --
  24. 2.14.4