Commit 98736d8e authored by Jean-Paul Saman's avatar Jean-Paul Saman

Declare local functions static.

parent 8b626b7a
......@@ -36,7 +36,7 @@ void libvlc_input_free( libvlc_input_t *p_input )
* Retrieve the input thread. Be sure to release the object
* once you are done with it.
*/
input_thread_t *libvlc_get_input_thread( libvlc_input_t *p_input,
static input_thread_t *libvlc_get_input_thread( libvlc_input_t *p_input,
libvlc_exception_t *p_e )
{
input_thread_t *p_input_thread;
......
......@@ -364,15 +364,15 @@ LIBVLC_VLM_GET_MEDIA_ATTRIBUTE( seekable, int, Bool, 0);
#undef LIBVLC_VLM_GET_MEDIA_ATTRIBUTE
/* local function to be used in libvlc_vlm_show_media only */
char* recurse_answer( char* psz_prefix, vlm_message_t *p_answer ) {
static char* recurse_answer( char* psz_prefix, vlm_message_t *p_answer ) {
char* psz_childprefix;
char* psz_response="";
char* response_tmp;
int i;
vlm_message_t *aw_child, **paw_child;
asprintf( &psz_childprefix, "%s%s.", psz_prefix, p_answer->psz_name );
if ( p_answer->i_child )
{
paw_child = p_answer->child;
......@@ -426,4 +426,5 @@ char* libvlc_vlm_show_media( libvlc_instance_t *p_instance, char *psz_name,
free( psz_message );
return(psz_response );
#endif
return NULL;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment