don't include utils.h when it isn't used

This commit is contained in:
Max Kellermann 2009-01-03 14:52:56 +01:00
parent d17f0f435b
commit dec4e4ca85
8 changed files with 7 additions and 9 deletions

View File

@ -29,7 +29,6 @@
#include "permission.h" #include "permission.h"
#include "buffer2array.h" #include "buffer2array.h"
#include "log.h" #include "log.h"
#include "utils.h"
#include "stored_playlist.h" #include "stored_playlist.h"
#include "ack.h" #include "ack.h"
#include "audio.h" #include "audio.h"
@ -42,6 +41,8 @@
#include <assert.h> #include <assert.h>
#include <time.h> #include <time.h>
#include <stdlib.h>
#include <errno.h>
#define COMMAND_STATUS_VOLUME "volume" #define COMMAND_STATUS_VOLUME "volume"
#define COMMAND_STATUS_STATE "state" #define COMMAND_STATUS_STATE "state"

View File

@ -21,7 +21,6 @@
#include "song.h" #include "song.h"
#include "log.h" #include "log.h"
#include "path.h" #include "path.h"
#include "utils.h"
#include "song_save.h" #include "song_save.h"
#include <glib.h> #include <glib.h>

View File

@ -23,7 +23,6 @@
#include "gcc.h" #include "gcc.h"
#include "log.h" #include "log.h"
#include "ls.h" #include "ls.h"
#include "utils.h"
#include <stdbool.h> #include <stdbool.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -18,7 +18,6 @@
#include "path.h" #include "path.h"
#include "conf.h" #include "conf.h"
#include "utils.h"
#include "playlist.h" #include "playlist.h"
#include <glib.h> #include <glib.h>

View File

@ -19,7 +19,6 @@
#include "permission.h" #include "permission.h"
#include "conf.h" #include "conf.h"
#include "log.h" #include "log.h"
#include "utils.h"
#include <glib.h> #include <glib.h>

View File

@ -21,10 +21,11 @@
#include "tag_save.h" #include "tag_save.h"
#include "directory.h" #include "directory.h"
#include "path.h" #include "path.h"
#include "utils.h"
#include "tag.h" #include "tag.h"
#include "log.h" #include "log.h"
#include <stdlib.h>
#define SONG_KEY "key: " #define SONG_KEY "key: "
#define SONG_MTIME "mtime: " #define SONG_MTIME "mtime: "

View File

@ -15,19 +15,20 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "volume.h"
#include "volume.h"
#include "conf.h" #include "conf.h"
#include "player_control.h" #include "player_control.h"
#include "utils.h"
#include "idle.h" #include "idle.h"
#include "pcm_utils.h" #include "pcm_utils.h"
#include "config.h" #include "config.h"
#include "audio.h" #include "audio.h"
#include <glib.h> #include <glib.h>
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>
#include <stdlib.h>
#undef G_LOG_DOMAIN #undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "volume" #define G_LOG_DOMAIN "volume"

View File

@ -18,7 +18,6 @@
#include "zeroconf-internal.h" #include "zeroconf-internal.h"
#include "listen.h" #include "listen.h"
#include "utils.h"
#include <glib.h> #include <glib.h>