mirror of https://github.com/ArduPilot/ardupilot
Remove stdbool.h include for C++ sources
This header is not needed in our C++ sources.
This commit is contained in:
parent
790d186c6c
commit
b0ddf81687
|
@ -23,7 +23,6 @@
|
|||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
// used to pack structures
|
||||
#define PACKED __attribute__((__packed__))
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "AP_HAL_Namespace.h"
|
||||
#include "AP_HAL_Boards.h"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "dsm.h"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
class GetOptLong {
|
||||
public:
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include "srxl.h"
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
* @author Lorenz Meier <lm@inf.ethz.ch>
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include "st24.h"
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
* @author Marco Bauer <marco@wtns.de>
|
||||
*/
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include "sumd.h"
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
#include "Flow_PX4.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ extern "C" {
|
|||
#include <types.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
#include <sys/timespec.h>
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "sbus.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
#include <AP_HAL/utility/Socket.h>
|
||||
|
|
Loading…
Reference in New Issue