aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 20:56:04 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 20:56:04 +0100
commit22f0ef6d6b2d2c66def0e0e93442b01089e388e9 (patch)
treec0aa86dccc8c83c4a14400023aa645b158d24e9e /src
parent975deca85b3fb881571203c9a2cad4eb242cd954 (diff)
don't include stdbool.h in C++ sources
The "bool" type is built-in.
Diffstat (limited to 'src')
-rw-r--r--src/DatabasePrint.hxx2
-rw-r--r--src/InotifySource.cxx1
-rw-r--r--src/InotifyUpdate.cxx1
-rw-r--r--src/PlaylistFile.hxx1
-rw-r--r--src/PlaylistPrint.hxx1
-rw-r--r--src/PlaylistQueue.hxx2
-rw-r--r--src/PlaylistSong.hxx2
-rw-r--r--src/SongFilter.hxx1
-rw-r--r--src/UpdateArchive.hxx1
-rw-r--r--src/UpdateInternal.hxx2
-rw-r--r--src/UpdateWalk.hxx2
-rw-r--r--src/db/SimpleDatabasePlugin.hxx1
-rw-r--r--src/decoder/FLACMetaData.cxx1
-rw-r--r--src/decoder/FLACMetaData.hxx1
14 files changed, 0 insertions, 19 deletions
diff --git a/src/DatabasePrint.hxx b/src/DatabasePrint.hxx
index 4aacd936..413a923a 100644
--- a/src/DatabasePrint.hxx
+++ b/src/DatabasePrint.hxx
@@ -23,8 +23,6 @@
#include "gcc.h"
#include "gerror.h"
-#include <stdbool.h>
-
struct client;
class SongFilter;
struct DatabaseSelection;
diff --git a/src/InotifySource.cxx b/src/InotifySource.cxx
index 68946810..16fd6251 100644
--- a/src/InotifySource.cxx
+++ b/src/InotifySource.cxx
@@ -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"
diff --git a/src/InotifyUpdate.cxx b/src/InotifyUpdate.cxx
index e9350591..3e438b69 100644
--- a/src/InotifyUpdate.cxx
+++ b/src/InotifyUpdate.cxx
@@ -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>
diff --git a/src/PlaylistFile.hxx b/src/PlaylistFile.hxx
index b20f0d76..6df5a46d 100644
--- a/src/PlaylistFile.hxx
+++ b/src/PlaylistFile.hxx
@@ -25,7 +25,6 @@
#include <string>
#include <glib.h>
-#include <stdbool.h>
#include <time.h>
struct song;
diff --git a/src/PlaylistPrint.hxx b/src/PlaylistPrint.hxx
index ac0712f0..22db2fe0 100644
--- a/src/PlaylistPrint.hxx
+++ b/src/PlaylistPrint.hxx
@@ -21,7 +21,6 @@
#define MPD_PLAYLIST_PRINT_HXX
#include <glib.h>
-#include <stdbool.h>
#include <stdint.h>
struct client;
diff --git a/src/PlaylistQueue.hxx b/src/PlaylistQueue.hxx
index e1d3bf39..cda77c81 100644
--- a/src/PlaylistQueue.hxx
+++ b/src/PlaylistQueue.hxx
@@ -26,8 +26,6 @@
#include "playlist_error.h"
-#include <stdbool.h>
-
struct playlist_provider;
struct playlist;
struct player_control;
diff --git a/src/PlaylistSong.hxx b/src/PlaylistSong.hxx
index f6959715..117ee133 100644
--- a/src/PlaylistSong.hxx
+++ b/src/PlaylistSong.hxx
@@ -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
diff --git a/src/SongFilter.hxx b/src/SongFilter.hxx
index a3068a97..afec8130 100644
--- a/src/SongFilter.hxx
+++ b/src/SongFilter.hxx
@@ -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
diff --git a/src/UpdateArchive.hxx b/src/UpdateArchive.hxx
index 533f8ffd..5ce63978 100644
--- a/src/UpdateArchive.hxx
+++ b/src/UpdateArchive.hxx
@@ -23,7 +23,6 @@
#include "check.h"
#include "gcc.h"
-#include <stdbool.h>
#include <sys/stat.h>
struct directory;
diff --git a/src/UpdateInternal.hxx b/src/UpdateInternal.hxx
index 76ab7bed..50443c08 100644
--- a/src/UpdateInternal.hxx
+++ b/src/UpdateInternal.hxx
@@ -22,8 +22,6 @@
#include "check.h"
-#include <stdbool.h>
-
extern bool walk_discard;
extern bool modified;
diff --git a/src/UpdateWalk.hxx b/src/UpdateWalk.hxx
index 7fa3083f..62c0d0a8 100644
--- a/src/UpdateWalk.hxx
+++ b/src/UpdateWalk.hxx
@@ -22,8 +22,6 @@
#include "check.h"
-#include <stdbool.h>
-
void
update_walk_global_init(void);
diff --git a/src/db/SimpleDatabasePlugin.hxx b/src/db/SimpleDatabasePlugin.hxx
index 2ea5c492..4de39b46 100644
--- a/src/db/SimpleDatabasePlugin.hxx
+++ b/src/db/SimpleDatabasePlugin.hxx
@@ -26,7 +26,6 @@
#include <cassert>
#include <string>
-#include <stdbool.h>
#include <time.h>
struct directory;
diff --git a/src/decoder/FLACMetaData.cxx b/src/decoder/FLACMetaData.cxx
index 158e426d..561c1591 100644
--- a/src/decoder/FLACMetaData.cxx
+++ b/src/decoder/FLACMetaData.cxx
@@ -32,7 +32,6 @@ extern "C" {
#include <glib.h>
#include <assert.h>
-#include <stdbool.h>
#include <stdlib.h>
static bool
diff --git a/src/decoder/FLACMetaData.hxx b/src/decoder/FLACMetaData.hxx
index 7b5eb8b0..0eceec23 100644
--- a/src/decoder/FLACMetaData.hxx
+++ b/src/decoder/FLACMetaData.hxx
@@ -26,7 +26,6 @@
#include <FLAC/metadata.h>
#include <assert.h>
-#include <stdbool.h>
class FLACMetadataChain {
FLAC__Metadata_Chain *chain;