From dec4e4ca85278c957e574e6ade6ff03fffd1ace6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 3 Jan 2009 14:52:56 +0100 Subject: don't include utils.h when it isn't used --- src/command.c | 3 ++- src/directory_save.c | 1 - src/input_archive.c | 1 - src/path.c | 1 - src/permission.c | 1 - src/song_save.c | 3 ++- src/volume.c | 5 +++-- 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 #include +#include +#include #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 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 #include 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 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 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 + #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 + #include #include +#include #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 -- cgit v1.2.3