CPP include cleanup
Include only headers which are really used.
This commit is contained in:
parent
b159832418
commit
ca68b1c80a
|
@ -19,9 +19,7 @@
|
|||
#ifndef LOG_H
|
||||
#define LOG_H
|
||||
|
||||
#include "../config.h"
|
||||
#include "gcc.h"
|
||||
#include "os_compat.h"
|
||||
|
||||
#define LOG_LEVEL_LOW 0
|
||||
#define LOG_LEVEL_SECURE 1
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
*/
|
||||
|
||||
#include "playerData.h"
|
||||
#include "player_control.h"
|
||||
#include "outputBuffer.h"
|
||||
#include "conf.h"
|
||||
#include "log.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define DEFAULT_BUFFER_SIZE 2048
|
||||
#define DEFAULT_BUFFER_BEFORE_PLAY 10
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#define SONG_H
|
||||
|
||||
#include "os_compat.h"
|
||||
#include "gcc.h"
|
||||
|
||||
#define SONG_BEGIN "songList begin"
|
||||
#define SONG_END "songList end"
|
||||
|
@ -28,8 +27,6 @@
|
|||
#define SONG_FILE "file: "
|
||||
#define SONG_TIME "Time: "
|
||||
|
||||
struct client;
|
||||
|
||||
struct song {
|
||||
struct tag *tag;
|
||||
struct directory *parentDir;
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#ifndef TAG_INTERNAL_H
|
||||
#define TAG_INTERNAL_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern int8_t ignoreTagItems[TAG_NUM_OF_ITEM_TYPES];
|
||||
|
||||
#endif
|
||||
|
|
|
@ -31,5 +31,4 @@ char *utf8_to_latin1(char *dest, const char *utf8);
|
|||
|
||||
char *latin1_to_utf8(char *dest, const char *utf8);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue