[vlc-commits] input: make input_SplitMRL() static
Rémi Denis-Courmont
git at videolan.org
Mon Apr 16 17:18:09 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr 16 17:52:33 2018 +0300| [d6dd3a48ac35f86883db4a3a86161381db6ae7f1] | committer: Rémi Denis-Courmont
input: make input_SplitMRL() static
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d6dd3a48ac35f86883db4a3a86161381db6ae7f1
---
src/input/input.c | 7 +++++--
src/input/input_internal.h | 4 ----
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index f4d49b809f..30f075fef3 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2461,6 +2461,9 @@ error:
return NULL;
}
+static void input_SplitMRL( const char **, const char **, const char **,
+ const char **, char * );
+
/*****************************************************************************
* InputSourceNew:
*****************************************************************************/
@@ -3071,8 +3074,8 @@ static void input_ChangeState( input_thread_t *p_input, int i_state )
* MRLSplit: parse the access, demux and url part of the
* Media Resource Locator.
*****************************************************************************/
-void input_SplitMRL( const char **access, const char **demux,
- const char **path, const char **anchor, char *buf )
+static void input_SplitMRL( const char **access, const char **demux,
+ const char **path, const char **anchor, char *buf )
{
char *p;
diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index 16fd662fb3..db53577e63 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -254,10 +254,6 @@ void input_ConfigVarInit ( input_thread_t * );
int subtitles_Detect( input_thread_t *, char *, const char *, input_item_slave_t ***, int * );
int subtitles_Filter( const char *);
-/* input.c */
-void input_SplitMRL( const char **, const char **, const char **,
- const char **, char * );
-
/* meta.c */
void vlc_audio_replay_gain_MergeFromMeta( audio_replay_gain_t *p_dst,
const vlc_meta_t *p_meta );
More information about the vlc-commits
mailing list