X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsettings.c;h=313fed0baf191821434d0cc91de087ebb61bc262;hb=c8ce785f49200ea434e7d2ea65b7eb55bf9f501e;hp=34649de73c3ed54d44e712afba1efc6dcfbc795a;hpb=1fec85d2c2a80ec32f351bfa3fa369070f1f848d;p=pspp diff --git a/src/data/settings.c b/src/data/settings.c index 34649de73c..313fed0baf 100644 --- a/src/data/settings.c +++ b/src/data/settings.c @@ -305,6 +305,13 @@ settings_set_include (bool include) the_settings.include = include; } +/* Returns the year that starts the epoch. */ +int +settings_get_epoch (void) +{ + return the_settings.styles.epoch; +} + /* Sets the year that starts the epoch. */ void settings_set_epoch (int epoch)