make inline correct -> must be static
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 14 Aug 2004 21:15:52 +0000 (21:15 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 14 Aug 2004 21:15:52 +0000 (21:15 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@760 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/hook.h
ltt/branches/poly/lttv/modules/gui/controlflow/cfv.h
ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h
ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h

index 502ac5c8732b4b337fd9f4b6db3e2492fd1e62b7..77a5dd5f59194ede727e5760c55d9f62f741ab88 100644 (file)
@@ -144,7 +144,7 @@ unsigned lttv_hooks_by_id_max_id(LttvHooksById *h);
 
 /* Get the list of hooks for an id, NULL if none exists */
 
-inline LttvHooks *lttv_hooks_by_id_get(LttvHooksById *h, unsigned id)
+static inline LttvHooks *lttv_hooks_by_id_get(LttvHooksById *h, unsigned id)
 {
   LttvHooks *ret;
   if(id < h->len) ret = h->pdata[id];
index 03cef7e72f6631ba80b12c1f4481583de30eb2e2..f828c5d932493c010677bac3d278fd9dc5612320 100644 (file)
@@ -34,13 +34,13 @@ guicontrolflow_destructor_full(ControlFlowData *control_flow_data);
 void
 guicontrolflow_destructor(ControlFlowData *control_flow_data);
 
-inline GtkWidget *guicontrolflow_get_widget(
+static inline GtkWidget *guicontrolflow_get_widget(
                                      ControlFlowData *control_flow_data)
 {
   return control_flow_data->top_widget ;
 }
 
-inline ProcessList *guicontrolflow_get_process_list
+static inline ProcessList *guicontrolflow_get_process_list
     (ControlFlowData *control_flow_data)
 {
     return control_flow_data->process_list ;
index 02dd33e4948a2b77d9a939026efd0e2971110eb9..ce058111846e9ed9d9edc0a5f15b76dee3150955 100644 (file)
@@ -157,7 +157,7 @@ tree_row_activated(GtkTreeModel *treemodel,
  *
  * Convert from window pixel and time interval to an absolute time.
  */
-inline void convert_pixels_to_time(
+static inline void convert_pixels_to_time(
     gint width,
     guint x,
     TimeWindow time_window,
@@ -172,7 +172,7 @@ inline void convert_pixels_to_time(
 }
 
 
-inline void convert_time_to_pixels(
+static inline void convert_time_to_pixels(
     TimeWindow time_window,
     LttTime time,
     int width,
index 1a4f743e5a80bf60c4285f948166d867d0c972d3..f0c8fbdd3f6c07da7ec189145e958e3c3c7852bc 100644 (file)
@@ -113,7 +113,7 @@ int processlist_remove(ProcessList *process_list, guint pid, guint cpu,
     LttTime *birth, guint trace_num);
 
 
-inline guint processlist_get_height(ProcessList *process_list)
+static inline guint processlist_get_height(ProcessList *process_list)
 {
   return get_cell_height(process_list,
                          (GtkTreeView*)process_list->process_list_widget)
@@ -121,7 +121,7 @@ inline guint processlist_get_height(ProcessList *process_list)
 }
 
 
-inline HashedProcessData *processlist_get_process_data( 
+static inline HashedProcessData *processlist_get_process_data( 
           ProcessList *process_list,
           guint pid, guint cpu, LttTime *birth, guint trace_num)
 {
@@ -143,7 +143,7 @@ inline HashedProcessData *processlist_get_process_data(
 }
 
 
-inline gint processlist_get_pixels_from_data(  ProcessList *process_list,
+static inline gint processlist_get_pixels_from_data(  ProcessList *process_list,
           HashedProcessData *hashed_process_data,
           guint *y,
           guint *height)
index 157ed164487cdacc57c6b9594654358d6efa24dd..1caf6a407046e7e33dbfc10c56c96c0a79be3c34 100644 (file)
@@ -666,7 +666,7 @@ void lttvwindow_events_request_remove_all(Tab            *tab,
  * @return time window.
  */
 
-inline TimeWindow lttvwindow_get_time_window(Tab *tab)
+static inline TimeWindow lttvwindow_get_time_window(Tab *tab)
 {
   return tab->time_window;
 }
This page took 0.030275 seconds and 4 git commands to generate.