Commit 22f0ef6d authored by Max Kellermann's avatar Max Kellermann

don't include stdbool.h in C++ sources

The "bool" type is built-in.
parent 975deca8
......@@ -23,8 +23,6 @@
#include "gcc.h"
#include "gerror.h"
#include <stdbool.h>
struct client;
class SongFilter;
struct DatabaseSelection;
......
......@@ -32,7 +32,6 @@ extern "C" {
#include <sys/inotify.h>
#include <unistd.h>
#include <errno.h>
#include <stdbool.h>
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "inotify"
......
......@@ -31,7 +31,6 @@ extern "C" {
#include <assert.h>
#include <sys/inotify.h>
#include <sys/stat.h>
#include <stdbool.h>
#include <string.h>
#include <dirent.h>
#include <errno.h>
......
......@@ -25,7 +25,6 @@
#include <string>
#include <glib.h>
#include <stdbool.h>
#include <time.h>
struct song;
......
......@@ -21,7 +21,6 @@
#define MPD_PLAYLIST_PRINT_HXX
#include <glib.h>
#include <stdbool.h>
#include <stdint.h>
struct client;
......
......@@ -26,8 +26,6 @@
#include "playlist_error.h"
#include <stdbool.h>
struct playlist_provider;
struct playlist;
struct player_control;
......
......@@ -20,8 +20,6 @@
#ifndef MPD_PLAYLIST_SONG_HXX
#define MPD_PLAYLIST_SONG_HXX
#include <stdbool.h>
/**
* Verifies the song, returns NULL if it is unsafe. Translate the
* song to a new song object within the database, if it is a local
......
......@@ -25,7 +25,6 @@
#include <list>
#include <stdint.h>
#include <stdbool.h>
#define LOCATE_TAG_FILE_TYPE TAG_NUM_OF_ITEM_TYPES+10
#define LOCATE_TAG_ANY_TYPE TAG_NUM_OF_ITEM_TYPES+20
......
......@@ -23,7 +23,6 @@
#include "check.h"
#include "gcc.h"
#include <stdbool.h>
#include <sys/stat.h>
struct directory;
......
......@@ -22,8 +22,6 @@
#include "check.h"
#include <stdbool.h>
extern bool walk_discard;
extern bool modified;
......
......@@ -22,8 +22,6 @@
#include "check.h"
#include <stdbool.h>
void
update_walk_global_init(void);
......
......@@ -26,7 +26,6 @@
#include <cassert>
#include <string>
#include <stdbool.h>
#include <time.h>
struct directory;
......
......@@ -32,7 +32,6 @@ extern "C" {
#include <glib.h>
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
static bool
......
......@@ -26,7 +26,6 @@
#include <FLAC/metadata.h>
#include <assert.h>
#include <stdbool.h>
class FLACMetadataChain {
FLAC__Metadata_Chain *chain;
......
......@@ -22,7 +22,6 @@
#include <glib.h>
#include <stdbool.h>
#include <sys/inotify.h>
#include <signal.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment