From 9ab931861e7267cd9e50a3b79e579f07eb644824 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 8 Jan 2017 05:20:51 +0000 Subject: [PATCH] xxx: gcc avoid bogus ssp warning --- sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c b/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c index 96ac2d3737c1..107a19440afd 100644 --- a/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c +++ b/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c @@ -2513,7 +2513,7 @@ vchiq_dump_service_use_state(VCHIQ_STATE_T *state) VCHIQ_ARM_STATE_T *arm_state = vchiq_platform_get_arm_state(state); int i, j = 0; /* Only dump 64 services */ - static const int local_max_services = 64; +#define local_max_services 64 /* If there's more than 64 services, only dump ones with * non-zero counts */ int only_nonzero = 0;