Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
ca68b1c8
Commit
ca68b1c8
authored
16 years ago
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CPP include cleanup
Include only headers which are really used.
parent
b1598324
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
8 deletions
+4
-8
log.h
src/log.h
+0
-2
playerData.c
src/playerData.c
+2
-2
song.h
src/song.h
+0
-3
tag_internal.h
src/tag_internal.h
+2
-0
utf8.h
src/utf8.h
+0
-1
No files found.
src/log.h
View file @
ca68b1c8
...
@@ -19,9 +19,7 @@
...
@@ -19,9 +19,7 @@
#ifndef LOG_H
#ifndef LOG_H
#define LOG_H
#define LOG_H
#include "../config.h"
#include "gcc.h"
#include "gcc.h"
#include "os_compat.h"
#define LOG_LEVEL_LOW 0
#define LOG_LEVEL_LOW 0
#define LOG_LEVEL_SECURE 1
#define LOG_LEVEL_SECURE 1
...
...
This diff is collapsed.
Click to expand it.
src/playerData.c
View file @
ca68b1c8
...
@@ -17,11 +17,11 @@
...
@@ -17,11 +17,11 @@
*/
*/
#include "playerData.h"
#include "playerData.h"
#include "player_control.h"
#include "outputBuffer.h"
#include "outputBuffer.h"
#include "conf.h"
#include "conf.h"
#include "log.h"
#include "log.h"
#include "utils.h"
#include <stdlib.h>
#define DEFAULT_BUFFER_SIZE 2048
#define DEFAULT_BUFFER_SIZE 2048
#define DEFAULT_BUFFER_BEFORE_PLAY 10
#define DEFAULT_BUFFER_BEFORE_PLAY 10
...
...
This diff is collapsed.
Click to expand it.
src/song.h
View file @
ca68b1c8
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#define SONG_H
#define SONG_H
#include "os_compat.h"
#include "os_compat.h"
#include "gcc.h"
#define SONG_BEGIN "songList begin"
#define SONG_BEGIN "songList begin"
#define SONG_END "songList end"
#define SONG_END "songList end"
...
@@ -28,8 +27,6 @@
...
@@ -28,8 +27,6 @@
#define SONG_FILE "file: "
#define SONG_FILE "file: "
#define SONG_TIME "Time: "
#define SONG_TIME "Time: "
struct
client
;
struct
song
{
struct
song
{
struct
tag
*
tag
;
struct
tag
*
tag
;
struct
directory
*
parentDir
;
struct
directory
*
parentDir
;
...
...
This diff is collapsed.
Click to expand it.
src/tag_internal.h
View file @
ca68b1c8
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
#ifndef TAG_INTERNAL_H
#ifndef TAG_INTERNAL_H
#define TAG_INTERNAL_H
#define TAG_INTERNAL_H
#include <stdint.h>
extern
int8_t
ignoreTagItems
[
TAG_NUM_OF_ITEM_TYPES
];
extern
int8_t
ignoreTagItems
[
TAG_NUM_OF_ITEM_TYPES
];
#endif
#endif
This diff is collapsed.
Click to expand it.
src/utf8.h
View file @
ca68b1c8
...
@@ -31,5 +31,4 @@ char *utf8_to_latin1(char *dest, const char *utf8);
...
@@ -31,5 +31,4 @@ char *utf8_to_latin1(char *dest, const char *utf8);
char
*
latin1_to_utf8
(
char
*
dest
,
const
char
*
utf8
);
char
*
latin1_to_utf8
(
char
*
dest
,
const
char
*
utf8
);
#endif
#endif
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment