Skip to content

Commit

Permalink
Fix include guards
Browse files Browse the repository at this point in the history
Signed-off-by: Clayton Smith <[email protected]>
  • Loading branch information
argilo committed Oct 12, 2023
1 parent a26a1b8 commit 96d992a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions kernels/volk/volk_32f_s32f_add_32f.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
#include <inttypes.h>
#include <stdio.h>

#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,
Expand All @@ -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 <xmmintrin.h>

Expand Down
17 changes: 8 additions & 9 deletions kernels/volk/volk_32fc_s32f_magnitude_16i.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <inttypes.h>
#include <math.h>
#include <stdio.h>
#include <volk/volk_common.h>

#ifdef LV_HAVE_GENERIC

static inline void volk_32fc_s32f_magnitude_16i_generic(int16_t* magnitudeVector,
const lv_32fc_t* complexVector,
const float scalar,
Expand All @@ -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 <inttypes.h>
#include <math.h>
#include <stdio.h>
#include <volk/volk_common.h>

#ifdef LV_HAVE_AVX2
#include <immintrin.h>

Expand Down

0 comments on commit 96d992a

Please sign in to comment.