diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | main.c | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -57,7 +57,6 @@ SOURCES = \ info.c \ main.c \ parse-xml.c \ - prefs.c \ profile.c \ save-xml.c \ sha1.c \ @@ -40,6 +40,11 @@ struct preferences default_prefs = { #endif }; +struct units *get_units() +{ + return &prefs.units; +} + /* random helper functions, used here or elsewhere */ static int sortfn(const void *_a, const void *_b) { |