summaryrefslogtreecommitdiffstats
path: root/core/subsurfacestartup.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r--core/subsurfacestartup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c
index f234ac86f..f3f9e4bda 100644
--- a/core/subsurfacestartup.c
+++ b/core/subsurfacestartup.c
@@ -106,7 +106,7 @@ struct preferences default_prefs = {
int run_survey;
-struct units *get_units()
+const struct units *get_units()
{
return &prefs.units;
}