]> git.sesse.net Git - vlc/commitdiff
Declare local functions static.
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 18 Feb 2007 13:05:54 +0000 (13:05 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sun, 18 Feb 2007 13:05:54 +0000 (13:05 +0000)
src/control/input.c
src/control/vlm.c

index c75d17bb60fa2a797fd3f339eb6098679c80a428..b4a20fbeb19d2c43ad9d8a20bdb66357a56439c2 100644 (file)
@@ -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;
index 069d48c162348a09477df8daa9550a9eeae39c6b..78dced5b155e5929ec77ec5c2197bcf67e27c023 100644 (file)
@@ -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;
 }