From 4e1875f826d930e40a3a50076b4337ac032acfbd Mon Sep 17 00:00:00 2001
From: Erik Walthinsen <omega@temple-baptist.org>
Date: Sun, 17 Dec 2000 04:54:57 +0000
Subject: [PATCH] Some minor compilation fixes...

Original commit message from CVS:
Some minor compilation fixes...
---
 gst/gstbin.c               | 8 --------
 gst/gstbuffer.h            | 4 +---
 gst/gstdebug.h             | 2 ++
 tools/gstreamer-register.c | 3 +++
 4 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/gst/gstbin.c b/gst/gstbin.c
index b21237d241..9e0a418434 100644
--- a/gst/gstbin.c
+++ b/gst/gstbin.c
@@ -593,14 +593,6 @@ gst_bin_src_wrapper (int argc,char *argv[])
 }
 
 /*
-static void 
-gst_bin_pullfunc_proxy (GstPad *pad) 
-{
-  DEBUG_ENTER("(%s:%s)",GST_DEBUG_PAD_NAME(pad));
-  cothread_switch (GST_ELEMENT(pad->parent)->threadstate);
-}
-*/
-
 static void 
 gst_bin_pullregionfunc_proxy (GstPad *pad, 
 				gulong offset, 
diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h
index b09d25f646..c585016c9c 100644
--- a/gst/gstbuffer.h
+++ b/gst/gstbuffer.h
@@ -64,13 +64,11 @@ extern "C" {
 
 
 typedef enum {
-  GST_BUFFER_READONLY		= GST_OBJECT_FLAG_LAST,
+  GST_BUFFER_READONLY,
   GST_BUFFER_ORIGINAL,
   GST_BUFFER_DONTFREE,
   GST_BUFFER_FLUSH,
   GST_BUFFER_EOS,
-
-  GST_BUFFER_FLAG_LAST		= GST_OBJECT_FLAG_LAST + 8,
 } GstBufferFlags;
 
 
diff --git a/gst/gstdebug.h b/gst/gstdebug.h
index 2b81bcfcc1..462dc77253 100644
--- a/gst/gstdebug.h
+++ b/gst/gstdebug.h
@@ -21,6 +21,8 @@
 #ifndef __GSTDEBUG_H__
 #define __GSTDEBUG_H__
 
+#include <stdio.h>
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
diff --git a/tools/gstreamer-register.c b/tools/gstreamer-register.c
index c040e3ab56..04d31d953f 100644
--- a/tools/gstreamer-register.c
+++ b/tools/gstreamer-register.c
@@ -1,11 +1,14 @@
 #include <gst/gst.h>
 
+extern gboolean _gst_plugin_spew;
+
 int main(int argc,char *argv[]) 
 {
   xmlDocPtr doc;
 
   unlink("/etc/gstreamer/reg.xml");
 
+  _gst_plugin_spew = TRUE;
   gst_init(&argc,&argv);
 
   doc = xmlNewDoc("1.0");