kopia lustrzana https://github.com/Hamlib/Hamlib
Fix a [missingInclude] "information" when running cppcheck --check-config
This is for consistency with other source fils, but gcc finds the include file anyway (see https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html) Fixes: rotators/amsat/if100.c:38:0: information: Include file: "math.h" not found. [missingInclude]pull/415/head
rodzic
41be8d65e4
commit
8c8eeaf795
|
@ -26,6 +26,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h> /* String function definitions */
|
||||
#include <unistd.h> /* UNIX standard function definitions */
|
||||
#include <math.h>
|
||||
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
# include <sys/ioctl.h>
|
||||
|
@ -35,7 +36,6 @@
|
|||
#include "parallel.h"
|
||||
#include "misc.h"
|
||||
#include "register.h"
|
||||
#include "math.h"
|
||||
|
||||
static int
|
||||
if100_set_position(ROT *rot, azimuth_t az, elevation_t el)
|
||||
|
|
Ładowanie…
Reference in New Issue