From 9fbc550ee173229058094ad2a43858342ba4fc8e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 26 Aug 2008 11:18:38 +0000 Subject: 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. --- gst/dccp/gstdccpserversink.c | 4 +++- gst/dccp/gstdccpserversink.h | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gst') diff --git a/gst/dccp/gstdccpserversink.c b/gst/dccp/gstdccpserversink.c index 72ffa16c..3121acdf 100644 --- a/gst/dccp/gstdccpserversink.c +++ b/gst/dccp/gstdccpserversink.c @@ -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); diff --git a/gst/dccp/gstdccpserversink.h b/gst/dccp/gstdccpserversink.h index 5fead474..0b2623ad 100644 --- a/gst/dccp/gstdccpserversink.h +++ b/gst/dccp/gstdccpserversink.h @@ -58,8 +58,6 @@ struct _Client GstFlowReturn flow_status; }; -pthread_t accept_thread_id; - struct _GstDCCPServerSink { GstBaseSink element; -- cgit v1.2.1