mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: move dive_table from dive.h to divelist.h
This allows us to decouple dive.h and divelist.h, a small step in include disentangling. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
c13040798c
commit
95284c026e
34 changed files with 54 additions and 23 deletions
|
|
@ -128,16 +128,10 @@ struct divecomputer {
|
|||
struct divecomputer *next;
|
||||
};
|
||||
|
||||
typedef struct dive_table {
|
||||
int nr, allocated;
|
||||
struct dive **dives;
|
||||
} dive_table_t;
|
||||
|
||||
static const dive_table_t empty_dive_table = { 0, 0, (struct dive **)0 };
|
||||
|
||||
struct picture;
|
||||
struct dive_site;
|
||||
struct dive_site_table;
|
||||
struct dive_table;
|
||||
struct dive_trip;
|
||||
struct trip_table;
|
||||
struct full_text_cache;
|
||||
|
|
@ -248,7 +242,6 @@ extern int quit, force_root, ignore_bt;
|
|||
extern char *testqml;
|
||||
#endif
|
||||
|
||||
extern struct dive_table dive_table;
|
||||
extern struct dive displayed_dive;
|
||||
extern unsigned int dc_number;
|
||||
extern struct dive *current_dive;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue