diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-21 21:39:18 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-21 21:39:18 +0100 |
commit | f96e4f15817974e8d3675bfe3980cdf02815bd74 (patch) | |
tree | 8eb2ba9bc6058e9a8d5ad2a46e6bd5034e3f3813 /gst/dccp | |
parent | 46f4c7a6c127dbd20fd9f88a10518e084501cd36 (diff) | |
download | gstreamer-plugins-bad-f96e4f15817974e8d3675bfe3980cdf02815bd74.tar.gz |
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
Diffstat (limited to 'gst/dccp')
-rw-r--r-- | gst/dccp/gstdccp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/dccp/gstdccp.c b/gst/dccp/gstdccp.c index 148aa4ad1..3d44731ce 100644 --- a/gst/dccp/gstdccp.c +++ b/gst/dccp/gstdccp.c @@ -516,12 +516,13 @@ gst_dccp_set_ccid (GstElement * element, int sock_fd, uint8_t ccid) return TRUE; } +#if 0 /* * Get the current ccid of TX or RX half-connection. tx_or_rx parameter must be * DCCP_SOCKOPT_TX_CCID or DCCP_SOCKOPT_RX_CCID. * @return ccid or -1 on error or tx_or_rx not the correct option */ -uint8_t +static uint8_t gst_dccp_get_ccid (GstElement * element, int sock_fd, int tx_or_rx) { uint8_t ccid; @@ -548,6 +549,7 @@ gst_dccp_get_ccid (GstElement * element, int sock_fd, int tx_or_rx) } return ccid; } +#endif /* * Get the socket MTU. |