From 969dfee9ec088acb942e211cb90329d2b8c0751f Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 8 May 2018 16:24:51 +0200 Subject: Rename enum dive_comp_type to divemode_t ...as the usuage is not anymore about a computer but a momentary dive mode. Rename the end indicator as well. Signed-off-by: Robert C. Helling --- core/divelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/divelist.c') diff --git a/core/divelist.c b/core/divelist.c index acac8ec6b..d5dc37271 100644 --- a/core/divelist.c +++ b/core/divelist.c @@ -416,7 +416,7 @@ static void add_dive_to_deco(struct deco_state *ds, struct dive *dive) struct gasmix *gasmix = NULL; int i; struct event *ev = NULL, *evd = NULL; - enum dive_comp_type current_divemode = UNDEF_COMP_TYPE; + enum divemode_t current_divemode = UNDEF_COMP_TYPE; if (!dc) return; -- cgit v1.2.3-70-g09d2