debug: Mark the GST_POLL symbol as extern to avoid multiply-defined error
authorJan Schmidt <thaytan@noraisin.net>
Mon, 12 Oct 2009 13:57:35 +0000 (14:57 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Mon, 12 Oct 2009 13:57:35 +0000 (14:57 +0100)
gst/gst_private.h

index fbc592c..74e3e87 100644 (file)
@@ -161,7 +161,7 @@ GST_EXPORT GstDebugCategory *GST_CAT_TYPES; /* FIXME 0.11: remove? */
 /* Categories that should be completely private to
  * libgstreamer should be done like this: */
 #define GST_CAT_POLL _priv_GST_CAT_POLL
-GstDebugCategory *_priv_GST_CAT_POLL;
+extern GstDebugCategory *_priv_GST_CAT_POLL;
 
 #else