From: Wim T. <wt...@us...> - 2002-11-29 18:10:34
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: wtay Date: Fri Nov 29 2002 10:10:33 PST Log message: Used glib macros for no_intrument Modified files: gst : cothreads.c gstinfo.c Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/cothreads.c.diff?r1=1.92&r2=1.93 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstinfo.c.diff?r1=1.44&r2=1.45 ====Begin Diffs==== Index: cothreads.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/cothreads.c,v retrieving revision 1.92 retrieving revision 1.93 diff -u -d -r1.92 -r1.93 --- cothreads.c 29 Nov 2002 13:59:29 -0000 1.92 +++ cothreads.c 29 Nov 2002 18:10:21 -0000 1.93 @@ -488,7 +488,8 @@ * * Returns: the current cothread id */ -int cothread_getcurrent (void) __attribute__ ((no_instrument_function)); +int cothread_getcurrent (void) G_GNUC_NO_INSTRUMENT; + int cothread_getcurrent (void) { Index: gstinfo.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstinfo.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- gstinfo.c 29 Nov 2002 17:05:03 -0000 1.44 +++ gstinfo.c 29 Nov 2002 18:10:20 -0000 1.45 @@ -179,7 +179,7 @@ const gchar *file, const gchar *function, gint line, const gchar *debug_string, void *element, gchar *string) - __attribute__ ((no_instrument_function)); + G_GNUC_NO_INSTRUMENT; void gst_default_debug_handler (gint category, gboolean incore, @@ -483,7 +483,7 @@ /* FIXME make this thread specific */ /* static GSList *stack_trace = NULL; */ -gchar *_gst_debug_nameof_funcptr (void *ptr) __attribute__ ((no_instrument_function)); +gchar *_gst_debug_nameof_funcptr (void *ptr) G_GNUC_NO_INSTRUMENT; gchar * _gst_debug_nameof_funcptr (void *ptr) @@ -502,7 +502,7 @@ #ifdef GST_ENABLE_FUNC_INSTRUMENTATION -void __cyg_profile_func_enter(void *this_fn,void *call_site) __attribute__ ((no_instrument_function)); +void __cyg_profile_func_enter(void *this_fn,void *call_site) G_GNUC_NO_INSTRUMENT; void __cyg_profile_func_enter(void *this_fn,void *call_site) { gchar *name = _gst_debug_nameof_funcptr (this_fn); @@ -515,7 +515,7 @@ g_free (site); } -void __cyg_profile_func_exit(void *this_fn,void *call_site) __attribute__ ((no_instrument_function)); +void __cyg_profile_func_exit(void *this_fn,void *call_site) G_GNUC_NO_INSTRUMENT; void __cyg_profile_func_exit(void *this_fn,void *call_site) { gchar *name = _gst_debug_nameof_funcptr (this_fn); |