aboutsummaryrefslogtreecommitdiffstats
path: root/core/divelist.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-06-04 20:41:31 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-06-19 13:11:10 -0700
commitf4ef1c4bc8805600e018777f18f3f29682e40c2d (patch)
treef6797f32bd6f4c91aa762bc3bc85c3d491aedf92 /core/divelist.h
parent821f68550d09f8e9bc394de682bfc7e8f8a37879 (diff)
downloadsubsurface-f4ef1c4bc8805600e018777f18f3f29682e40c2d.tar.gz
Cleanup: localize enum and table in divelist.c
The cns_table was only used in divelist.c. Make it of static linkage accordingly. The cns_table_headers enum is likewise only used in divelist.c. Therefore move it from the header to the .c file. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/divelist.h')
-rw-r--r--core/divelist.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/divelist.h b/core/divelist.h
index f2e243b00..7b57b41ac 100644
--- a/core/divelist.h
+++ b/core/divelist.h
@@ -60,8 +60,6 @@ int get_dive_id_closest_to(timestamp_t when);
void clear_dive_file_data();
void clear_table(struct dive_table *table);
-typedef enum {PO2VAL, SINGLE_EXP, SINGLE_SLOPE, DAILY_EXP, DAILY_SLOPE, NO_COLUMNS} cns_table_headers;
-
#ifdef DEBUG_TRIP
extern void dump_selection(void);
#endif