From f19e50a635804ae911ec9ba2ddaff531b0f315d2 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 1 Feb 2012 09:00:35 +0100 Subject: [PATCH] Remove static function attribute. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes build error: ./src/surf/network.c:376:12: error: static declaration of ‘net_get_link_latency_limited’ follows non-static declaration ./src/surf/surf_private.h:81:5: note: previous declaration of ‘net_get_link_latency_limited’ was here --- src/surf/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/network.c b/src/surf/network.c index 1c881426b3..0779efeadf 100644 --- a/src/surf/network.c +++ b/src/surf/network.c @@ -373,7 +373,7 @@ void net_action_recycle(surf_action_t action) } #ifdef HAVE_LATENCY_BOUND_TRACKING -static int net_get_link_latency_limited(surf_action_t action) +int net_get_link_latency_limited(surf_action_t action) { return action->latency_limited; } -- 2.20.1