From 3960942488b7522e1bd306d508770123b2042cfe Mon Sep 17 00:00:00 2001 From: wb2osz Date: Sun, 25 Oct 2020 21:35:19 -0400 Subject: [PATCH] Fix compile warnings on Mac. --- src/cdigipeater.c | 2 +- src/demod_psk.c | 3 ++- src/digipeater.c | 2 +- src/multi_modem.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/cdigipeater.c b/src/cdigipeater.c index 3a4c8fe..edfa2dd 100644 --- a/src/cdigipeater.c +++ b/src/cdigipeater.c @@ -49,7 +49,7 @@ #include #include /* for isdigit, isupper */ #include "regex.h" -#include +#include #include "ax25_pad.h" #include "cdigipeater.h" diff --git a/src/demod_psk.c b/src/demod_psk.c index 017c640..f01ee21 100644 --- a/src/demod_psk.c +++ b/src/demod_psk.c @@ -129,7 +129,8 @@ static inline float convolve (const float *__restrict__ data, const float *__res float sum = 0.0; int j; -#pragma GCC ivdep +//Does pragma make any difference? Annoying warning on Mac. +//#pragma GCC ivdep for (j=0; j #include /* for isdigit, isupper */ #include "regex.h" -#include +#include #include "ax25_pad.h" #include "digipeater.h" diff --git a/src/multi_modem.c b/src/multi_modem.c index 08a72dd..c59af07 100644 --- a/src/multi_modem.c +++ b/src/multi_modem.c @@ -91,7 +91,7 @@ #include #include #include -#include +#include #include "ax25_pad.h" #include "textcolor.h"