changeset 1961:e8ea3a76a84e

Various #include cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 02 Oct 2007 18:43:28 +0300
parents a76855c7942e
children 076126300dd8
files src/OSS/configure.c src/cue/cuesheet.c src/daap/daap.c src/dockalbumart/dockalbumart.c src/flacng/flacng.h src/flacng/plugin.c src/ladspa/ladspa.c src/madplug/plugin.h src/metronom/metronom.c src/mms/mms.c src/neon/neon.c src/neon/neon.h src/pls/pls.c src/shnplug/id3v2.c src/shnplug/shorten.h src/smb/smb.c src/tonegen/tonegen.c src/tta/libtta.c
diffstat 18 files changed, 12 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/src/OSS/configure.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/OSS/configure.c	Tue Oct 02 18:43:28 2007 +0300
@@ -27,7 +27,6 @@
 #include <string.h>
 
 #include <audacious/configdb.h>
-#include <audacious/vfs.h>
 #include <audacious/i18n.h>
 
 
--- a/src/cue/cuesheet.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/cue/cuesheet.c	Tue Oct 02 18:43:28 2007 +0300
@@ -26,7 +26,6 @@
 #include <audacious/plugin.h>
 #include <audacious/output.h>
 #include <audacious/playlist.h>
-#include <audacious/vfs.h>
 #include <audacious/util.h>
 #include <audacious/strings.h>
 #include <audacious/main.h>
--- a/src/daap/daap.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/daap/daap.c	Tue Oct 02 18:43:28 2007 +0300
@@ -20,7 +20,6 @@
 
 #include <glib.h>
 
-#include <audacious/vfs.h>
 #include <audacious/plugin.h>
 #include <audacious/discovery.h>
 
--- a/src/dockalbumart/dockalbumart.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/dockalbumart/dockalbumart.c	Tue Oct 02 18:43:28 2007 +0300
@@ -30,7 +30,6 @@
 #include <audacious/plugin.h>
 #include <audacious/util.h>
 #include <audacious/playlist.h>
-#include <audacious/tuple.h>
 
 #include "audacious_player.xpm"
 
--- a/src/flacng/flacng.h	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/flacng/flacng.h	Tue Oct 02 18:43:28 2007 +0300
@@ -19,12 +19,11 @@
 #ifndef FLACNG_H
 #define FLACNG_H
 
+#include "config.h"
 #include <glib.h>
 #include <audacious/plugin.h>
 #include <audacious/main.h>
-#include <audacious/vfs.h>
 #include <audacious/i18n.h>
-# include "config.h"
 
 #define OUTPUT_BLOCK_SIZE (8192u)
 #define MAX_SUPPORTED_CHANNELS (2u)
--- a/src/flacng/plugin.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/flacng/plugin.c	Tue Oct 02 18:43:28 2007 +0300
@@ -17,10 +17,10 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include "flacng.h"
 #include <audacious/util.h>
 #include <audacious/output.h>
 #include <glib/gi18n.h>
-#include "flacng.h"
 #include "tools.h"
 #include "plugin.h"
 #include "seekable_stream_callbacks.h"
--- a/src/ladspa/ladspa.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/ladspa/ladspa.c	Tue Oct 02 18:43:28 2007 +0300
@@ -18,6 +18,8 @@
 
 /* BMP-ladspa port by Giacomo Lozito <city_hunter@users.sf.net> */
 
+#include "config.h"
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
@@ -31,7 +33,6 @@
 #include <audacious/configdb.h>
 #include <audacious/i18n.h>
 
-#include "../../config.h"
 #include "ladspa.h"
 
 #ifndef PATH_MAX
--- a/src/madplug/plugin.h	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/madplug/plugin.h	Tue Oct 02 18:43:28 2007 +0300
@@ -40,7 +40,6 @@
 #include <audacious/main.h>
 #include <audacious/util.h>
 #include <audacious/strings.h>
-#include <audacious/vfs.h>
 #include <audacious/i18n.h>
 #include <audacious/id3tag.h>
 #include <mad.h>
--- a/src/metronom/metronom.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/metronom/metronom.c	Tue Oct 02 18:43:28 2007 +0300
@@ -17,10 +17,10 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include "config.h"
 #include <audacious/plugin.h>
 #include <audacious/util.h>
 #include <audacious/i18n.h>
-#include "../../config.h"
 #include <glib.h>
 #include <string.h>
 
--- a/src/mms/mms.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/mms/mms.c	Tue Oct 02 18:43:28 2007 +0300
@@ -18,7 +18,6 @@
 
 #include <glib.h>
 
-#include <audacious/vfs.h>
 #include <audacious/plugin.h>
 #include <stdio.h>
 
--- a/src/neon/neon.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/neon/neon.c	Tue Oct 02 18:43:28 2007 +0300
@@ -17,7 +17,8 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include <audacious/vfs.h>
+#include "neon.h"
+
 #include <audacious/plugin.h>
 #include <audacious/configdb.h>
 
@@ -28,7 +29,6 @@
 #include <ne_auth.h>
 
 #include "debug.h"
-#include "neon.h"
 #include "rb.h"
 
 #define NBUFSIZ (128u*1024u)
--- a/src/neon/neon.h	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/neon/neon.h	Tue Oct 02 18:43:28 2007 +0300
@@ -20,6 +20,8 @@
 #ifndef _NEON_PLUGIN_H
 #define _NEON_PLUGIN_H
 
+#include "config.h"
+
 #include <glib.h>
 #include <audacious/vfs.h>
 #include <ne_session.h>
--- a/src/pls/pls.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/pls/pls.c	Tue Oct 02 18:43:28 2007 +0300
@@ -36,7 +36,6 @@
 #include <audacious/playlist.h>
 #include <audacious/playlist_container.h>
 #include <audacious/plugin.h>
-#include <audacious/vfs.h>
 #include <audacious/strings.h>
 
 static void
--- a/src/shnplug/id3v2.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/shnplug/id3v2.c	Tue Oct 02 18:43:28 2007 +0300
@@ -20,13 +20,10 @@
  * $Id: id3v2.c,v 1.6 2007/03/23 05:49:48 jason Exp $
  */
 
+#include "config.h"
 #include <stdio.h>
 #include "shorten.h"
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #define ID3V2_MAGIC "ID3"
 
 typedef struct {
--- a/src/shnplug/shorten.h	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/shnplug/shorten.h	Tue Oct 02 18:43:28 2007 +0300
@@ -13,9 +13,7 @@
 #ifndef _SHORTEN_H
 #define _SHORTEN_H
 
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <stdlib.h>
 #include <pthread.h>
--- a/src/smb/smb.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/smb/smb.c	Tue Oct 02 18:43:28 2007 +0300
@@ -16,6 +16,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#include "config.h"
 #include <audacious/plugin.h>
 #include <stdio.h>
 
--- a/src/tonegen/tonegen.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/tonegen/tonegen.c	Tue Oct 02 18:43:28 2007 +0300
@@ -17,11 +17,11 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#include "config.h"
 #include <audacious/plugin.h>
 #include <audacious/output.h>
 #include <audacious/util.h>
 #include <audacious/i18n.h>
-#include "config.h"
 #include <glib.h>
 #include <stdlib.h>
 #include <string.h>
--- a/src/tta/libtta.c	Tue Oct 02 18:42:14 2007 +0300
+++ b/src/tta/libtta.c	Tue Oct 02 18:43:28 2007 +0300
@@ -45,7 +45,6 @@
 #include <audacious/output.h>
 #include <audacious/strings.h>
 #include <audacious/i18n.h>
-
 #include <audacious/id3tag.h>
 
 #define  PLUGIN_VERSION "1.4"