From c4f7a3578456695813b9e5da050b31f7e0122fe4 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Mon, 3 Dec 2007 21:34:03 +0000 Subject: [PATCH] control/core.c: Use C99's __func__ unstead of gcc's __FUNCTION__ as dionoea requested in libvlc_exception_not_handled(). Make that function static. --- src/control/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/control/core.c b/src/control/core.c index 6dd84570fb..a621c7d5ad 100644 --- a/src/control/core.c +++ b/src/control/core.c @@ -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, -- 2.39.2