Remove 'inline' from a function that is never actually inlined under any circumstance...
authorDavid Schleef <ds@schleef.org>
Tue, 21 Jan 2003 22:13:48 +0000 (22:13 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 21 Jan 2003 22:13:48 +0000 (22:13 +0000)
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.

gst/gstinfo.c
gst/gstinfo.h

index 8bbd917..b93edcd 100644 (file)
@@ -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)
index f3bd88c..e860910 100644 (file)
@@ -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;