]> git.sesse.net Git - vlc/commitdiff
control/core.c: Use C99's __func__ unstead of gcc's __FUNCTION__ as dionoea requested...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 3 Dec 2007 21:34:03 +0000 (21:34 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 3 Dec 2007 21:34:03 +0000 (21:34 +0000)
src/control/core.c

index 6dd84570fb99f1b1611079064fdadea7dd815c94..a621c7d5ad1e25d0097284c9eb06f51ad65e5167 100644 (file)
@@ -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,