Browse Source

Remove stdbool.h include for C++ sources

This header is not needed in our C++ sources.
master
Lucas De Marchi 8 years ago
parent
commit
b0ddf81687
  1. 1
      libraries/AP_Common/AP_Common.h
  2. 1
      libraries/AP_HAL/AP_HAL.h
  3. 1
      libraries/AP_HAL/utility/RingBuffer.h
  4. 1
      libraries/AP_HAL/utility/dsm.cpp
  5. 1
      libraries/AP_HAL/utility/getopt_cpp.h
  6. 1
      libraries/AP_HAL/utility/srxl.cpp
  7. 1
      libraries/AP_HAL/utility/st24.cpp
  8. 1
      libraries/AP_HAL/utility/sumd.cpp
  9. 1
      libraries/AP_HAL_Linux/Flow_PX4.cpp
  10. 1
      libraries/AP_HAL_Linux/qflight/dsp_functions.cpp
  11. 1
      libraries/AP_HAL_Linux/sbus.cpp
  12. 1
      libraries/AP_HAL_QURT/mainapp/mainapp.cpp

1
libraries/AP_Common/AP_Common.h

@ -23,7 +23,6 @@ @@ -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
libraries/AP_HAL/AP_HAL.h

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
#pragma once
#include <stdint.h>
#include <stdbool.h>
#include "AP_HAL_Namespace.h"
#include "AP_HAL_Boards.h"

1
libraries/AP_HAL/utility/RingBuffer.h

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
#pragma once
#include <atomic>
#include <stdbool.h>
#include <stdint.h>
/*

1
libraries/AP_HAL/utility/dsm.cpp

@ -36,7 +36,6 @@ @@ -36,7 +36,6 @@
****************************************************************************/
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include "dsm.h"

1
libraries/AP_HAL/utility/getopt_cpp.h

@ -10,7 +10,6 @@ @@ -10,7 +10,6 @@
*/
#pragma once
#include <stdbool.h>
class GetOptLong {
public:

1
libraries/AP_HAL/utility/srxl.cpp

@ -22,7 +22,6 @@ @@ -22,7 +22,6 @@
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "srxl.h"

1
libraries/AP_HAL/utility/st24.cpp

@ -43,7 +43,6 @@ @@ -43,7 +43,6 @@
* @author Lorenz Meier <lm@inf.ethz.ch>
*/
#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
#include "st24.h"

1
libraries/AP_HAL/utility/sumd.cpp

@ -43,7 +43,6 @@ @@ -43,7 +43,6 @@
* @author Marco Bauer <marco@wtns.de>
*/
#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
#include "sumd.h"

1
libraries/AP_HAL_Linux/Flow_PX4.cpp

@ -43,7 +43,6 @@ @@ -43,7 +43,6 @@
#include "Flow_PX4.h"
#include <cmath>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>

1
libraries/AP_HAL_Linux/qflight/dsp_functions.cpp

@ -29,7 +29,6 @@ extern "C" { @@ -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>

1
libraries/AP_HAL_Linux/sbus.cpp

@ -36,7 +36,6 @@ @@ -36,7 +36,6 @@
****************************************************************************/
#include <stdint.h>
#include <stdbool.h>
#include "sbus.h"

1
libraries/AP_HAL_QURT/mainapp/mainapp.cpp

@ -8,7 +8,6 @@ @@ -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…
Cancel
Save