Commit 51424555 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix compiler warning: implicit declaration of function 'asprintf'

parent 0d7f2354
......@@ -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;
}
......
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