/* 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];
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 ;
*
* 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,
}
-inline void convert_time_to_pixels(
+static inline void convert_time_to_pixels(
TimeWindow time_window,
LttTime time,
int width,
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)
}
-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)
{
}
-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)
* @return time window.
*/
-inline TimeWindow lttvwindow_get_time_window(Tab *tab)
+static inline TimeWindow lttvwindow_get_time_window(Tab *tab)
{
return tab->time_window;
}