diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-02 13:56:56 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-02 10:26:29 -0800 |
commit | 91ffa5a59a32b7c2a6e61b0d00e9074d8a418331 (patch) | |
tree | 3ed00fa518c34419ca83fec09794e2d35662249b /core/subsurfacestartup.c | |
parent | 966cd873c524423400b770fdf9836e2f7447a069 (diff) | |
download | subsurface-91ffa5a59a32b7c2a6e61b0d00e9074d8a418331.tar.gz |
cleanup: move definition of get_units() to core/unit.c
The function is declared in core/unit.h, therefore it seems logical
to define it in the corresponding source file.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r-- | core/subsurfacestartup.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c index 23e17c7a7..a04be7290 100644 --- a/core/subsurfacestartup.c +++ b/core/subsurfacestartup.c @@ -110,11 +110,6 @@ int quit, force_root, ignore_bt; char *testqml = NULL; #endif -const struct units *get_units() -{ - return &prefs.units; -} - /* * track whether we switched to importing dives */ |