[vlc-devel] commit: Unexport slightly unsafe block_FifoSize ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jan 4 23:08:23 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jan  5 00:04:58 2009 +0200| [25f65d405b09c39b48e57731cfa460344213433c] | committer: Rémi Denis-Courmont 

Unexport slightly unsafe block_FifoSize

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=25f65d405b09c39b48e57731cfa460344213433c
---

 include/vlc_block.h |    3 +--
 src/libvlccore.sym  |    1 -
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/include/vlc_block.h b/include/vlc_block.h
index 581132a..6a9589f 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -291,7 +291,6 @@ static inline block_t *block_ChainGather( block_t *p_list )
  *      needed), be carefull, you can use it ONLY if you are sure to be the
  *      only one getting data from the fifo.
  * - block_FifoCount : how many packets are waiting in the fifo
- * - block_FifoSize : how many cumulated bytes are waiting in the fifo
  * - block_FifoWake : wake ups a thread with block_FifoGet() = NULL
  *   (this is used to wakeup a thread when there is no data to queue)
  *
@@ -307,7 +306,7 @@ VLC_EXPORT( size_t,         block_FifoPut,      ( block_fifo_t *, block_t * ) );
 VLC_EXPORT( void,           block_FifoWake,     ( block_fifo_t * ) );
 VLC_EXPORT( block_t *,      block_FifoGet,      ( block_fifo_t * ) LIBVLC_USED );
 VLC_EXPORT( block_t *,      block_FifoShow,     ( block_fifo_t * ) );
-VLC_EXPORT( size_t,         block_FifoSize,     ( const block_fifo_t *p_fifo ) LIBVLC_USED );
+size_t block_FifoSize( const block_fifo_t *p_fifo ) LIBVLC_USED;
 VLC_EXPORT( size_t,         block_FifoCount,    ( const block_fifo_t *p_fifo ) LIBVLC_USED );
 
 #endif /* VLC_BLOCK_H */
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 7fcbb8e..61869c6 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -41,7 +41,6 @@ block_FifoNew
 block_FifoPut
 block_FifoRelease
 block_FifoShow
-block_FifoSize
 block_FifoWake
 block_File
 block_Init




More information about the vlc-devel mailing list