[vlc-devel] commit: Do not put a private function in a public header ( Rafaël Carré )

git version control git at videolan.org
Thu Apr 17 00:37:03 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Apr 17 00:23:24 2008 +0200| [53b281b4b3a0251ddf4a45b0fa976a334b7cd842]

Do not put a private function in a public header

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

 include/vlc_playlist.h           |    4 ----
 src/playlist/playlist_internal.h |    4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h
index 3444c97..ce21567 100644
--- a/include/vlc_playlist.h
+++ b/include/vlc_playlist.h
@@ -366,10 +366,6 @@ VLC_EXPORT( int, playlist_BothAddInput, ( playlist_t *, input_item_t *,playlist_
 /********************** Misc item operations **********************/
 VLC_EXPORT( playlist_item_t*, playlist_ItemToNode, (playlist_t *,playlist_item_t *, bool) );
 
-playlist_item_t *playlist_ItemFindFromInputAndRoot( playlist_t *p_playlist,
-                                   int i_input_id, playlist_item_t *p_root,
-                                   bool );
-
 /********************************** Item search *************************/
 VLC_EXPORT( playlist_item_t *, playlist_ItemGetById, (playlist_t *, int, bool ) );
 VLC_EXPORT( playlist_item_t *, playlist_ItemGetByInput, (playlist_t *,input_item_t *, bool ) );
diff --git a/src/playlist/playlist_internal.h b/src/playlist/playlist_internal.h
index dca7ab2..f1f3a44 100644
--- a/src/playlist/playlist_internal.h
+++ b/src/playlist/playlist_internal.h
@@ -111,6 +111,10 @@ playlist_item_t *playlist_GetPrevLeaf( playlist_t *p_playlist,
 playlist_item_t *playlist_GetLastLeaf( playlist_t *p_playlist,
                                     playlist_item_t *p_root );
 
+playlist_item_t *playlist_ItemFindFromInputAndRoot( playlist_t *p_playlist,
+                                   int i_input_id, playlist_item_t *p_root,
+                                   bool );
+
 int playlist_DeleteFromItemId( playlist_t*, int );
 int playlist_ItemDelete ( playlist_item_t * );
 




More information about the vlc-devel mailing list