]> git.sesse.net Git - vlc/commitdiff
Fix compiler warning: implicit declaration of function 'asprintf'
authorJean-Paul Saman <jpsaman@videolan.org>
Sat, 21 Oct 2006 12:32:12 +0000 (12:32 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 21 Oct 2006 12:32:12 +0000 (12:32 +0000)
modules/codec/cmml/intf.c

index 2d4e0134ba8f989e3e3b353915c768e8c00a3717..a85b6a2057f56634c1daff6562b4c4c979419111 100644 (file)
@@ -27,6 +27,7 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#include <stdio.h>
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
 
@@ -595,7 +596,6 @@ int GetCurrentTimeInSeconds( input_thread_t *p_input )
 
     var_Get( p_input, "time", &time );
     i_seconds = time.i_time / 1000000;
-
     return i_seconds;
 }
 
@@ -605,7 +605,6 @@ char *GetTimedURIFragmentForTime( int seconds )
     char *psz_time;
 
     asprintf( &psz_time, "%d", seconds );
-
     return psz_time;
 }