Finally remove location, latitude and longitude from struct dive

With this all references to these members should be gone and all the code
should be switched over to the dive site infrastructure.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-02-13 12:14:24 -08:00
parent 6708e06872
commit 06e578424e

2
dive.h
View file

@ -321,12 +321,10 @@ struct dive {
bool hidden_by_filter; bool hidden_by_filter;
bool downloaded; bool downloaded;
timestamp_t when; timestamp_t when;
char *location;
uint32_t dive_site_uuid; uint32_t dive_site_uuid;
char *notes; char *notes;
char *divemaster, *buddy; char *divemaster, *buddy;
int rating; int rating;
degrees_t latitude, longitude;
int visibility; /* 0 - 5 star rating */ int visibility; /* 0 - 5 star rating */
cylinder_t cylinder[MAX_CYLINDERS]; cylinder_t cylinder[MAX_CYLINDERS];
weightsystem_t weightsystem[MAX_WEIGHTSYSTEMS]; weightsystem_t weightsystem[MAX_WEIGHTSYSTEMS];