Make 'struct DiveList' entirely internal to divelist.c

Passing it around is just annoying, and we only ever have one.  Let's
not burden all the users with the silly thing.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2011-09-20 10:06:24 -07:00
parent eee34232db
commit 9cf8d98711
5 changed files with 37 additions and 37 deletions

View file

@ -608,5 +608,5 @@ void import_dialog(GtkWidget *w, gpointer data)
gtk_widget_destroy(dialog);
report_dives();
dive_list_update_dives(dive_list);
dive_list_update_dives();
}