Stop building prefs.c

The only tiny function in there that was still needed seems to fit
nicely into main.c

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-05-30 06:00:26 +09:00
parent 85e3a4ad29
commit f1fe4869d9
2 changed files with 5 additions and 1 deletions

View file

@ -57,7 +57,6 @@ SOURCES = \
info.c \
main.c \
parse-xml.c \
prefs.c \
profile.c \
save-xml.c \
sha1.c \

5
main.c
View file

@ -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)
{