Fix some implicit-function-declaration warnings
authorAlexandre Montplaisir <alexandre.montplaisir@gmail.com>
Wed, 7 Dec 2011 15:37:07 +0000 (10:37 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 7 Dec 2011 15:37:07 +0000 (10:37 -0500)
time_span -> timespan inconsistency
Add a missing prototype to lttvwindow/callbacks.c

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttv/modules/gui/detailedevents/events.c
lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c

index ae749eac9b1714807aebcc4dc08f8498c8dcdfb6..70696dc6c344e09233248bb39fd39c4e969abcd4 100644 (file)
@@ -212,7 +212,7 @@ gui_events(LttvPluginTab *ptab)
                 update_current_position,event_viewer_data);
   lttvwindow_register_traceset_notify(tab, 
                 traceset_changed,event_viewer_data);
-  lttvwindow_register_time_span_notify(tab, 
+  lttvwindow_register_timespan_notify(tab, 
                 timespan_changed,event_viewer_data);
   lttvwindow_register_filter_notify(tab,
                 filter_changed, event_viewer_data);
@@ -1888,7 +1888,7 @@ void gui_events_free(gpointer data)
     //                    show_event_detail, event_viewer_data);
     lttvwindow_unregister_traceset_notify(tab,
                         traceset_changed, event_viewer_data);
-    lttvwindow_unregister_time_span_notify(tab,
+    lttvwindow_unregister_timespan_notify(tab,
                                    timespan_changed,event_viewer_data);
     lttvwindow_unregister_filter_notify(tab,
                         filter_changed, event_viewer_data);
index 310607d78af172e20f05f1b22466b4336ca4853b..7243082e325ea8a209f061d5700301b2274ef643 100644 (file)
@@ -75,6 +75,8 @@ char * get_selection(MainWindow *mw,
 void init_tab(Tab *tab, MainWindow * mw, Tab *copy_tab,
                  GtkNotebook * notebook, char * label);
 
+int update_traceset(Tab *tab, LttvTraceset *traceset);
+
 static void insert_viewer(GtkWidget* widget, lttvwindow_viewer_constructor constructor);
 
 LttvPluginTab *create_new_tab(GtkWidget* widget, gpointer user_data);
@@ -303,7 +305,7 @@ int SetTraceset(Tab * tab, LttvTraceset *traceset)
   }
 
   /* Finally, call the update hooks of the viewers */
-  gint retval = update_traceset(tab,traceset);
+  gint retval = update_traceset(tab, traceset);
 
   time_change_manager(tab, new_time_window);
   current_time_change_manager(tab, new_current_time);
index acb968bed7b3e3969f5701b8d23e282daa9d3857..56a847e6159e0739229b625b61b1ae0eb3c57a78 100644 (file)
@@ -474,7 +474,7 @@ __EXPORT void lttvwindow_unregister_time_window_notify(Tab *tab,
  * @param hook hook function of the viewer.
  * @param hook_data hook data associated with the hook function.
  */
-__EXPORT void lttvwindow_register_time_span_notify(Tab *tab,
+__EXPORT void lttvwindow_register_timespan_notify(Tab *tab,
     LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
@@ -499,7 +499,7 @@ __EXPORT void lttvwindow_register_time_span_notify(Tab *tab,
  * @param hook_data hook data associated with the hook function.
  */
 
-__EXPORT void lttvwindow_unregister_time_span_notify(Tab *tab,
+__EXPORT void lttvwindow_unregister_timespan_notify(Tab *tab,
     LttvHook hook, gpointer hook_data)
 {
   LttvAttributeValue value;
This page took 0.027367 seconds and 4 git commands to generate.