gst/dccp/gstdccpserversink.*: Don't put globals only used by one '.c' file in a header !

Original commit message from CVS:
* gst/dccp/gstdccpserversink.c:
* gst/dccp/gstdccpserversink.h:
Don't put globals only used by one '.c' file in a header !
Declare it as static, fixes build on macosx.
This commit is contained in:
Edward Hervey 2008-08-26 11:18:38 +00:00
parent 7ab335f846
commit 9fbc550ee1
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2008-08-26 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/dccp/gstdccpserversink.c:
* gst/dccp/gstdccpserversink.h:
Don't put globals only used by one '.c' file in a header !
Declare it as static, fixes build on macosx.
2008-08-26 Edward Hervey <edward.hervey@collabora.co.uk>
* gst/dccp/gstdccp.c: (gst_dccp_send_buffer):

View file

@ -74,7 +74,9 @@ enum
PROP_WAIT_CONNECTIONS
};
pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
static pthread_t accept_thread_id;
static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
static gboolean gst_dccp_server_sink_stop (GstBaseSink * bsink);
GST_DEBUG_CATEGORY_STATIC (dccpserversink_debug);

View file

@ -58,8 +58,6 @@ struct _Client
GstFlowReturn flow_status;
};
pthread_t accept_thread_id;
struct _GstDCCPServerSink
{
GstBaseSink element;