Commit c4f7a357 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/core.c: Use C99's __func__ unstead of gcc's __FUNCTION__ as dionoea...

control/core.c: Use C99's __func__ unstead of gcc's __FUNCTION__ as dionoea requested in libvlc_exception_not_handled(). Make that function static.
parent 02daeef0
......@@ -63,9 +63,10 @@ libvlc_exception_get_message( const libvlc_exception_t *p_exception )
return NULL;
}
void libvlc_exception_not_handled( const char *psz )
static void libvlc_exception_not_handled( const char *psz )
{
fprintf( stderr, "*** LibVLC Exception not handled: %s\nSet a breakpoint in '%s' to debug.\n", psz, __FUNCTION__ );
fprintf( stderr, "*** LibVLC Exception not handled: %s\nSet a breakpoint in '%s' to debug.\n",
psz, __func__ );
}
void libvlc_exception_raise( libvlc_exception_t *p_exception,
......
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