diff options
author | Max Kellermann <max@duempel.org> | 2009-01-03 14:52:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-03 14:52:56 +0100 |
commit | dec4e4ca85278c957e574e6ade6ff03fffd1ace6 (patch) | |
tree | 2243370ec1870845718524507988ce0c55c8c28b | |
parent | d17f0f435b39b19bdc8048c10f7bad7d8dbcd8b2 (diff) | |
download | mpd-dec4e4ca85278c957e574e6ade6ff03fffd1ace6.tar.gz mpd-dec4e4ca85278c957e574e6ade6ff03fffd1ace6.tar.xz mpd-dec4e4ca85278c957e574e6ade6ff03fffd1ace6.zip |
don't include utils.h when it isn't used
Diffstat (limited to '')
-rw-r--r-- | src/command.c | 3 | ||||
-rw-r--r-- | src/directory_save.c | 1 | ||||
-rw-r--r-- | src/input_archive.c | 1 | ||||
-rw-r--r-- | src/path.c | 1 | ||||
-rw-r--r-- | src/permission.c | 1 | ||||
-rw-r--r-- | src/song_save.c | 3 | ||||
-rw-r--r-- | src/volume.c | 5 | ||||
-rw-r--r-- | src/zeroconf-avahi.c | 1 |
8 files changed, 7 insertions, 9 deletions
diff --git a/src/command.c b/src/command.c index 4ec679909..1f997b81c 100644 --- a/src/command.c +++ b/src/command.c @@ -29,7 +29,6 @@ #include "permission.h" #include "buffer2array.h" #include "log.h" -#include "utils.h" #include "stored_playlist.h" #include "ack.h" #include "audio.h" @@ -42,6 +41,8 @@ #include <assert.h> #include <time.h> +#include <stdlib.h> +#include <errno.h> #define COMMAND_STATUS_VOLUME "volume" #define COMMAND_STATUS_STATE "state" diff --git a/src/directory_save.c b/src/directory_save.c index 748b3addd..300b2ec87 100644 --- a/src/directory_save.c +++ b/src/directory_save.c @@ -21,7 +21,6 @@ #include "song.h" #include "log.h" #include "path.h" -#include "utils.h" #include "song_save.h" #include <glib.h> diff --git a/src/input_archive.c b/src/input_archive.c index 4f573bd78..d687d9623 100644 --- a/src/input_archive.c +++ b/src/input_archive.c @@ -23,7 +23,6 @@ #include "gcc.h" #include "log.h" #include "ls.h" -#include "utils.h" #include <stdbool.h> #include <sys/stat.h> diff --git a/src/path.c b/src/path.c index e63f33b09..19a1f4151 100644 --- a/src/path.c +++ b/src/path.c @@ -18,7 +18,6 @@ #include "path.h" #include "conf.h" -#include "utils.h" #include "playlist.h" #include <glib.h> diff --git a/src/permission.c b/src/permission.c index 6972ecf81..b30f5bbc6 100644 --- a/src/permission.c +++ b/src/permission.c @@ -19,7 +19,6 @@ #include "permission.h" #include "conf.h" #include "log.h" -#include "utils.h" #include <glib.h> diff --git a/src/song_save.c b/src/song_save.c index ff5aeb1a7..5fe3522e9 100644 --- a/src/song_save.c +++ b/src/song_save.c @@ -21,10 +21,11 @@ #include "tag_save.h" #include "directory.h" #include "path.h" -#include "utils.h" #include "tag.h" #include "log.h" +#include <stdlib.h> + #define SONG_KEY "key: " #define SONG_MTIME "mtime: " diff --git a/src/volume.c b/src/volume.c index 3ba0355e6..e76528d72 100644 --- a/src/volume.c +++ b/src/volume.c @@ -15,19 +15,20 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "volume.h" +#include "volume.h" #include "conf.h" #include "player_control.h" -#include "utils.h" #include "idle.h" #include "pcm_utils.h" #include "config.h" #include "audio.h" #include <glib.h> + #include <math.h> #include <string.h> +#include <stdlib.h> #undef G_LOG_DOMAIN #define G_LOG_DOMAIN "volume" diff --git a/src/zeroconf-avahi.c b/src/zeroconf-avahi.c index b522d8feb..15920cf00 100644 --- a/src/zeroconf-avahi.c +++ b/src/zeroconf-avahi.c @@ -18,7 +18,6 @@ #include "zeroconf-internal.h" #include "listen.h" -#include "utils.h" #include <glib.h> |