summaryrefslogtreecommitdiffstats
path: root/gst/dccp
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2008-08-26 11:18:38 +0000
committerEdward Hervey <bilboed@bilboed.com>2008-08-26 11:18:38 +0000
commit9fbc550ee173229058094ad2a43858342ba4fc8e (patch)
treec2864ef5bc9270f975f48f9e680446798b9c14ab /gst/dccp
parent7ab335f846486a990812ded88edfaf811bae203c (diff)
downloadgst-plugins-bad-9fbc550ee173229058094ad2a43858342ba4fc8e.tar.gz
gst-plugins-bad-9fbc550ee173229058094ad2a43858342ba4fc8e.tar.bz2
gst-plugins-bad-9fbc550ee173229058094ad2a43858342ba4fc8e.zip
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.
Diffstat (limited to 'gst/dccp')
-rw-r--r--gst/dccp/gstdccpserversink.c4
-rw-r--r--gst/dccp/gstdccpserversink.h2
2 files changed, 3 insertions, 3 deletions
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;