From 5fc939eea932efbdc7952537857bfc7fff02a950 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 20 Mar 2019 08:11:14 -0700 Subject: cpu: fix rtype for fn selected by CLIB_MARCH_FN Change-Id: I79f65d7bd19af035442dca48b7be6c94de20c167 Signed-off-by: Florin Coras --- src/vppinfra/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vppinfra/cpu.h b/src/vppinfra/cpu.h index d523e88da89..ac9ae2bc7bd 100644 --- a/src/vppinfra/cpu.h +++ b/src/vppinfra/cpu.h @@ -370,7 +370,7 @@ CLIB_MARCH_SFX(fn ## _march_constructor) (void) \ #else #define CLIB_MARCH_FN(fn, rtype, _args...) \ static rtype CLIB_CPU_OPTIMIZED CLIB_MARCH_SFX (fn ## _ma)(_args); \ - extern int (*fn ## _selected) (_args); \ + extern rtype (*fn ## _selected) (_args); \ extern int fn ## _selected_priority; \ CLIB_MARCH_FN_CONSTRUCTOR (fn) \ static rtype CLIB_CPU_OPTIMIZED CLIB_MARCH_SFX (fn ## _ma)(_args) -- cgit 1.2.3-korg