mirror of https://github.com/wb2osz/direwolf.git
Fix compile warnings on Mac.
This commit is contained in:
parent
3a5f72acab
commit
3960942488
|
@ -49,7 +49,7 @@
|
|||
#include <stdio.h>
|
||||
#include <ctype.h> /* for isdigit, isupper */
|
||||
#include "regex.h"
|
||||
#include <sys/unistd.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "ax25_pad.h"
|
||||
#include "cdigipeater.h"
|
||||
|
|
|
@ -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<filter_size; j++) {
|
||||
sum += filter[j] * data[j];
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
#include <stdio.h>
|
||||
#include <ctype.h> /* for isdigit, isupper */
|
||||
#include "regex.h"
|
||||
#include <sys/unistd.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "ax25_pad.h"
|
||||
#include "digipeater.h"
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/unistd.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "ax25_pad.h"
|
||||
#include "textcolor.h"
|
||||
|
|
Loading…
Reference in New Issue