fix __inline -> __inline__
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 14 Aug 2004 16:46:51 +0000 (16:46 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 14 Aug 2004 16:46:51 +0000 (16:46 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@746 04897980-b3bd-0310-b5e0-8ef037075253

12 files changed:
ltt/branches/poly/lttv/lttv/attribute.c
ltt/branches/poly/lttv/modules/gui/controlflow/cfv.c
ltt/branches/poly/lttv/modules/gui/controlflow/cfv.h
ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c
ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h
ltt/branches/poly/lttv/modules/gui/controlflow/drawitem.c
ltt/branches/poly/lttv/modules/gui/controlflow/drawitem.h
ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c
ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h

index 549858674c941404fc475060bda7c390083d02a4..081265c7cede526a9ab3984e792fe8b46c234f98 100644 (file)
@@ -41,8 +41,8 @@ typedef struct _Attribute {
 } Attribute;
 
 
-static __inline LttvAttributeValue address_of_value(LttvAttributeType t,
-                                                    AttributeValue *v)
+static __inline__ LttvAttributeValue address_of_value(LttvAttributeType t,
+                                                      AttributeValue *v)
 {
   LttvAttributeValue va;
 
index 01189e552bb4ed4fef67be2b9ca85e5917a73253..e2977da8d125514a47e7ae6ea9ae952162271cc9 100644 (file)
@@ -211,13 +211,13 @@ guicontrolflow_destructor(ControlFlowData *control_flow_data)
  
 }
 
-__inline GtkWidget *guicontrolflow_get_widget(
+__inline__ GtkWidget *guicontrolflow_get_widget(
                                      ControlFlowData *control_flow_data)
 {
   return control_flow_data->top_widget ;
 }
 
-__inline ProcessList *guicontrolflow_get_process_list
+__inline__ ProcessList *guicontrolflow_get_process_list
     (ControlFlowData *control_flow_data)
 {
     return control_flow_data->process_list ;
index 35119ab370c0d577b365f1b3445577a30c9c7dd9..1c171758b76ad08ddb0645c2bbba5db606e11621 100644 (file)
@@ -33,9 +33,9 @@ void
 guicontrolflow_destructor_full(ControlFlowData *control_flow_data);
 void
 guicontrolflow_destructor(ControlFlowData *control_flow_data);
-__inline GtkWidget *guicontrolflow_get_widget(
+__inline__ GtkWidget *guicontrolflow_get_widget(
                                        ControlFlowData *control_flow_data);
-__inline ProcessList *guicontrolflow_get_process_list(
+__inline__ ProcessList *guicontrolflow_get_process_list(
                                        ControlFlowData *control_flow_data);
 
 
index 53f21422dc21f6580a274570d9fea0f28662da51..bcda5b22f0a1babaf03af4222393d909819b0c5e 100644 (file)
@@ -923,7 +923,7 @@ GtkWidget *drawing_get_widget(Drawing_t *drawing)
  *
  * Convert from window pixel and time interval to an absolute time.
  */
-__inline void convert_pixels_to_time(
+__inline__ void convert_pixels_to_time(
     gint width,
     guint x,
     TimeWindow time_window,
@@ -938,7 +938,7 @@ __inline void convert_pixels_to_time(
 }
 
 
-__inline void convert_time_to_pixels(
+__inline__ void convert_time_to_pixels(
     TimeWindow time_window,
     LttTime time,
     int width,
index 69840a1a75f5f51d07d229dc271a102261bc7165..6cbcb8484e4d14ffb49acd2cb941977abc9440c1 100644 (file)
@@ -134,13 +134,13 @@ void drawing_remove_square(Drawing_t *drawing,
         guint y,
         guint height);
 
-__inline void convert_pixels_to_time(
+__inline__ void convert_pixels_to_time(
     gint width,
     guint x,
     TimeWindow time_window,
     LttTime *time);
 
-__inline void convert_time_to_pixels(
+__inline__ void convert_time_to_pixels(
     TimeWindow time_window,
     LttTime time,
     gint width,
index f7dd664bd0784329bbc5713e009cb238e94720b7..c71aeebeacce9924b9768b2b40d8e9a30c52da07 100644 (file)
 #define MAX_PATH_LEN 256
 
 /* drawing hook functions */
-__inline gboolean draw_text( void *hook_data, void *call_data)
+__inline__ gboolean draw_text( void *hook_data, void *call_data)
 {
   PropertiesText *properties = (PropertiesText*)hook_data;
   DrawContext *draw_context = (DrawContext*)call_data;
@@ -206,7 +206,7 @@ __inline gboolean draw_text( void *hook_data, void *call_data)
 /* To speed up the process, search in already loaded icons list first. Only
  * load it if not present.
  */
-__inline gboolean draw_icon( void *hook_data, void *call_data)
+__inline__ gboolean draw_icon( void *hook_data, void *call_data)
 {
   PropertiesIcon *properties = (PropertiesIcon*)hook_data;
   DrawContext *draw_context = (DrawContext*)call_data;
@@ -311,7 +311,7 @@ __inline gboolean draw_icon( void *hook_data, void *call_data)
   return 0;
 }
 
-__inline gboolean draw_line( void *hook_data, void *call_data)
+__inline__ gboolean draw_line( void *hook_data, void *call_data)
 {
   PropertiesLine *properties = (PropertiesLine*)hook_data;
   DrawContext *draw_context = (DrawContext*)call_data;
@@ -357,7 +357,7 @@ __inline gboolean draw_line( void *hook_data, void *call_data)
   return 0;
 }
 
-__inline gboolean draw_arc( void *hook_data, void *call_data)
+__inline__ gboolean draw_arc( void *hook_data, void *call_data)
 {
   PropertiesArc *properties = (PropertiesArc*)hook_data;
   DrawContext *draw_context = (DrawContext*)call_data;
@@ -433,7 +433,7 @@ __inline gboolean draw_arc( void *hook_data, void *call_data)
   return 0;
 }
 
-__inline gboolean draw_bg( void *hook_data, void *call_data)
+__inline__ gboolean draw_bg( void *hook_data, void *call_data)
 {
   PropertiesBG *properties = (PropertiesBG*)hook_data;
   DrawContext *draw_context = (DrawContext*)call_data;
index 85fc837aac4f41a7479f6ab3aef7593cced6c825..434f20072a38b7ea42da024e1c6aa0638f06c297 100644 (file)
@@ -268,11 +268,11 @@ void exec_operations( LttvIAttribute *attributes,
  * different items.
  */
 
-__inline gboolean draw_text( void *hook_data, void *call_data);
-__inline gboolean draw_icon( void *hook_data, void *call_data);
-__inline gboolean draw_line( void *hook_data, void *call_data);
-__inline gboolean draw_arc( void *hook_data, void *call_data);
-__inline gboolean draw_bg( void *hook_data, void *call_data);
+__inline__ gboolean draw_text( void *hook_data, void *call_data);
+__inline__ gboolean draw_icon( void *hook_data, void *call_data);
+__inline__ gboolean draw_line( void *hook_data, void *call_data);
+__inline__ gboolean draw_arc( void *hook_data, void *call_data);
+__inline__ gboolean draw_bg( void *hook_data, void *call_data);
 
 
 #endif // _DRAW_ITEM_H
index be23d1e38cd89fb834fb83f2ae481532c7ad131d..d080a2c17e32bcf85f07376f41af4d1c42200fcd 100644 (file)
@@ -271,7 +271,7 @@ int event_selected_hook(void *hook_data, void *call_data)
 }
 
 /* Function that selects the color of status&exemode line */
-static __inline PropertiesLine prepare_s_e_line(LttvProcessState *process)
+static __inline__ PropertiesLine prepare_s_e_line(LttvProcessState *process)
 {
   PropertiesLine prop_line;
   prop_line.line_width = 2;
@@ -318,7 +318,7 @@ static __inline PropertiesLine prepare_s_e_line(LttvProcessState *process)
 }
 
 #if 0
-static __inline PropertiesLine prepare_status_line(LttvProcessState *process)
+static __inline__ PropertiesLine prepare_status_line(LttvProcessState *process)
 {
   PropertiesLine prop_line;
   prop_line.line_width = 2;
@@ -1913,7 +1913,7 @@ int after_schedchange_hook(void *hook_data, void *call_data)
 }
 
 #if 0
-static __inline PropertiesLine prepare_execmode_line(LttvProcessState *process)
+static __inline__ PropertiesLine prepare_execmode_line(LttvProcessState *process)
 {
   PropertiesLine prop_line;
   prop_line.line_width = 1;
@@ -3080,8 +3080,9 @@ void draw_closure(gpointer key, gpointer value, gpointer user_data)
      * draw items from the beginning of the read for it. If it is not
      * present, it's a new process and it was not present : it will
      * be added after the state update.  */
+#ifdef EXTRA_CHECK
     g_assert(lttv_traceset_number(tsc->ts) > 0);
-
+#endif //EXTRA_CHECK
     /* tracefiles[0] is ok here, because we draw for every PID, and
      * assume CPU 0 for PID 0 //FIXME */
     LttvTracefileState *tfs =
index 33c497f8e1a006d2c1f75c178b7c1068e0cd0363..11b838a1af851a2af68b244cbcbf9dc4bb6395b8 100644 (file)
@@ -32,7 +32,7 @@
  *                       Methods to synchronize process list                 *
  *****************************************************************************/
 
-static __inline guint get_cpu_number_from_name(GQuark name);
+static __inline__ guint get_cpu_number_from_name(GQuark name);
   
 /* Enumeration of the columns */
 enum
@@ -443,7 +443,7 @@ GtkWidget *processlist_get_widget(ProcessList *process_list)
 
 
 
-static __inline gint get_cell_height(ProcessList *process_list, GtkTreeView *tree_view)
+static __inline__ gint get_cell_height(ProcessList *process_list, GtkTreeView *tree_view)
 {
   gint height = process_list->cell_height_cache;
   if(height != -1) return height;
@@ -593,7 +593,7 @@ int processlist_remove( ProcessList *process_list,
 }
 
 
-guint processlist_get_height(ProcessList *process_list)
+__inline__ guint processlist_get_height(ProcessList *process_list)
 {
   return get_cell_height(process_list,
                          (GtkTreeView*)process_list->process_list_widget)
@@ -601,7 +601,7 @@ guint processlist_get_height(ProcessList *process_list)
 }
 
 
-__inline gint processlist_get_process_pixels(  ProcessList *process_list,
+__inline__ gint processlist_get_process_pixels(  ProcessList *process_list,
           guint pid, guint cpu, LttTime *birth, guint trace_num,
           guint *y,
           guint *height,
@@ -645,7 +645,7 @@ __inline gint processlist_get_process_pixels(  ProcessList *process_list,
 }
 
 
-__inline gint processlist_get_pixels_from_data(  ProcessList *process_list,
+__inline__ gint processlist_get_pixels_from_data(  ProcessList *process_list,
           ProcessInfo *process_info,
           HashedProcessData *hashed_process_data,
           guint *y,
@@ -667,7 +667,7 @@ __inline gint processlist_get_pixels_from_data(  ProcessList *process_list,
 
 }
 
-static __inline guint get_cpu_number_from_name(GQuark name)
+static __inline__ guint get_cpu_number_from_name(GQuark name)
 {
   const gchar *string;
   char *begin;
index 7a2f482800729f598dc8d43663a1bfb1f9b45ce6..c1fccc3e8f9c2dd49440376ae624beb5f0abd12d 100644 (file)
@@ -113,15 +113,15 @@ int processlist_add(ProcessList *process_list, guint pid, guint cpu, guint ppid,
 int processlist_remove(ProcessList *process_list, guint pid, guint cpu, 
     LttTime *birth, guint trace_num);
 
-guint processlist_get_height(ProcessList *process_list);
+__inline__ guint processlist_get_height(ProcessList *process_list);
 
 // Returns 0 on success
-__inline gint processlist_get_process_pixels(ProcessList *process_list,
+__inline__ gint processlist_get_process_pixels(ProcessList *process_list,
         guint pid, guint cpu, LttTime *birth, guint trace_num,
         guint *y, guint *height,
         HashedProcessData **hashed_process_data);
 
-__inline gint processlist_get_pixels_from_data(  ProcessList *process_list,
+__inline__ gint processlist_get_pixels_from_data(  ProcessList *process_list,
           ProcessInfo *process_info,
           HashedProcessData *hashed_process_data,
           guint *y,
index e0700de2250493bbc1f2f7b774e6cf8ab369d7b7..10bc10c392ac871e28d6951da9180eb766197174 100644 (file)
@@ -916,7 +916,7 @@ void lttvwindow_events_request_remove_all(Tab       *tab,
  * @return time window.
  */
 
-__inline TimeWindow lttvwindow_get_time_window(Tab *tab)
+__inline__ TimeWindow lttvwindow_get_time_window(Tab *tab)
 {
   return tab->time_window;
   
index 85ecb29c53501125538d0bceef036196588b8d74..790dcf50c6fb512a77f69071bc7da9cba59553ca 100644 (file)
@@ -664,7 +664,7 @@ void lttvwindow_events_request_remove_all(Tab            *tab,
  * @return the current tab's time interval.
  */
 
-__inline TimeWindow lttvwindow_get_time_window(Tab *tab);
+__inline__ TimeWindow lttvwindow_get_time_window(Tab *tab);
 
 
 /**
This page took 0.034836 seconds and 4 git commands to generate.