diff options
author | Edward Hervey <bilboed@bilboed.com> | 2008-08-26 11:18:38 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2008-08-26 11:18:38 +0000 |
commit | 9fbc550ee173229058094ad2a43858342ba4fc8e (patch) | |
tree | c2864ef5bc9270f975f48f9e680446798b9c14ab | |
parent | 7ab335f846486a990812ded88edfaf811bae203c (diff) |
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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/dccp/gstdccpserversink.c | 4 | ||||
-rw-r--r-- | gst/dccp/gstdccpserversink.h | 2 |
3 files changed, 10 insertions, 3 deletions
@@ -1,5 +1,12 @@ 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): Whoops, that was one fix too much :) diff --git a/gst/dccp/gstdccpserversink.c b/gst/dccp/gstdccpserversink.c index 72ffa16c9..3121acdfd 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 5fead4749..0b2623ade 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; |