debug: Mark the GST_POLL symbol as extern to avoid multiply-defined error

This commit is contained in:
Jan Schmidt 2009-10-12 14:57:35 +01:00
parent 9641a2b151
commit 36ccb66fb5

View 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