diff options
author | Dave Barach <dave@barachs.net> | 2022-12-26 14:01:36 -0500 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2022-12-26 14:25:36 -0500 |
commit | 6c89a35846e6884c69f5df6a28c91dfed5b24cc8 (patch) | |
tree | 44ab32548eda24679f0b79b03b485e5caaed709e /src/vppinfra/cpu.h | |
parent | 21b8fd324524ba4f9fa1be853d79d9ec750fa995 (diff) |
vppinfra: fix function prototypes
Type: fix
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Idbdfdf2d3fdbb64366f50d5a7458c4073a4f2746
Diffstat (limited to 'src/vppinfra/cpu.h')
-rw-r--r-- | src/vppinfra/cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vppinfra/cpu.h b/src/vppinfra/cpu.h index 31049f5458c..769bdb56e82 100644 --- a/src/vppinfra/cpu.h +++ b/src/vppinfra/cpu.h @@ -166,10 +166,10 @@ _ (asimddp, 20) \ _ (sha512, 21) \ _ (sve, 22) -u32 clib_get_current_cpu_id (); -u32 clib_get_current_numa_node (); +u32 clib_get_current_cpu_id (void); +u32 clib_get_current_numa_node (void); -typedef int (*clib_cpu_supports_func_t) (); +typedef int (*clib_cpu_supports_func_t) (void); #if defined(__x86_64__) #include "cpuid.h" |