From: David Schleef Date: Tue, 21 Jan 2003 22:13:48 +0000 (+0000) Subject: Remove 'inline' from a function that is never actually inlined under any circumstance... X-Git-Tag: BRANCH-RELEASE-0_5_2-ROOT~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32a905da8024e7e0766f8c1a32d2babd0d68e370;p=platform%2Fupstream%2Fgstreamer.git Remove 'inline' from a function that is never actually inlined under any circumstances. Some compilers (Forte) don't... Original commit message from CVS: Remove 'inline' from a function that is never actually inlined under any circumstances. Some compilers (Forte) don't like non-static inlines, and neither do I. From Brian Cameron. --- diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 8bbd917..b93edcd 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -564,7 +564,7 @@ gst_debug_print_stack_trace (void) #endif /* GST_ENABLE_FUNC_INTSTRUMENTATION */ -inline void * +void * _gst_debug_register_funcptr (void *ptr, gchar *ptrname) { if (!__gst_function_pointers) diff --git a/gst/gstinfo.h b/gst/gstinfo.h index f3bd88c..e860910 100644 --- a/gst/gstinfo.h +++ b/gst/gstinfo.h @@ -352,7 +352,7 @@ void gst_default_info_handler (gint category,gboolean incore, gint line,const gchar *debug_string, void *element,gchar *string); -inline void * _gst_debug_register_funcptr (void *ptr, gchar *ptrname); +void * _gst_debug_register_funcptr (void *ptr, gchar *ptrname); extern GstInfoHandler _gst_info_handler; extern guint32 _gst_info_categories;