From 96d992a0a3545bcd8db5d56f2e028a3f370ad070 Mon Sep 17 00:00:00 2001 From: Clayton Smith Date: Thu, 12 Oct 2023 13:01:38 -0400 Subject: [PATCH] Fix include guards Signed-off-by: Clayton Smith --- kernels/volk/volk_32f_s32f_add_32f.h | 6 +++--- kernels/volk/volk_32fc_s32f_magnitude_16i.h | 17 ++++++++--------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/kernels/volk/volk_32f_s32f_add_32f.h b/kernels/volk/volk_32f_s32f_add_32f.h index 58a1fc819..92dfb6401 100644 --- a/kernels/volk/volk_32f_s32f_add_32f.h +++ b/kernels/volk/volk_32f_s32f_add_32f.h @@ -55,6 +55,9 @@ #include #include +#ifndef INCLUDED_volk_32f_s32f_add_32f_u_H +#define INCLUDED_volk_32f_s32f_add_32f_u_H + #ifdef LV_HAVE_GENERIC static inline void volk_32f_s32f_add_32f_generic(float* cVector, @@ -73,9 +76,6 @@ static inline void volk_32f_s32f_add_32f_generic(float* cVector, } #endif /* LV_HAVE_GENERIC */ -#ifndef INCLUDED_volk_32f_s32f_add_32f_u_H -#define INCLUDED_volk_32f_s32f_add_32f_u_H - #ifdef LV_HAVE_SSE #include diff --git a/kernels/volk/volk_32fc_s32f_magnitude_16i.h b/kernels/volk/volk_32fc_s32f_magnitude_16i.h index 80155f62b..ac783f328 100644 --- a/kernels/volk/volk_32fc_s32f_magnitude_16i.h +++ b/kernels/volk/volk_32fc_s32f_magnitude_16i.h @@ -57,9 +57,16 @@ * \endcode */ -#ifdef LV_HAVE_GENERIC +#ifndef INCLUDED_volk_32fc_s32f_magnitude_16i_a_H +#define INCLUDED_volk_32fc_s32f_magnitude_16i_a_H + +#include +#include +#include #include +#ifdef LV_HAVE_GENERIC + static inline void volk_32fc_s32f_magnitude_16i_generic(int16_t* magnitudeVector, const lv_32fc_t* complexVector, const float scalar, @@ -78,14 +85,6 @@ static inline void volk_32fc_s32f_magnitude_16i_generic(int16_t* magnitudeVector } #endif /* LV_HAVE_GENERIC */ -#ifndef INCLUDED_volk_32fc_s32f_magnitude_16i_a_H -#define INCLUDED_volk_32fc_s32f_magnitude_16i_a_H - -#include -#include -#include -#include - #ifdef LV_HAVE_AVX2 #include