X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsettings.c;h=ec026d4cbe7d883a9a1647492bc151f6e998de4f;hb=41297e85eedafff3c28eb058a65089b16818bac1;hp=092187a6177984cc8d2e8f4774f7279623600d3d;hpb=d8493b3b0617cc447446a70b031a69079bc19002;p=pspp-builds.git diff --git a/src/data/settings.c b/src/data/settings.c index 092187a6..ec026d4c 100644 --- a/src/data/settings.c +++ b/src/data/settings.c @@ -64,8 +64,6 @@ struct settings bool printback; bool mprint; int mxloops; - bool nulline; - char endcmd; size_t workspace; struct fmt_spec default_format; bool testing_mode; @@ -105,8 +103,6 @@ static struct settings the_settings = { true, /* printback */ true, /* mprint */ 1, /* mxloops */ - true, /* nulline */ - '.', /* endcmd */ 64L * 1024 * 1024, /* workspace */ {FMT_F, 8, 2}, /* default_format */ false, /* testing_mode */ @@ -429,34 +425,6 @@ settings_set_mxloops ( int mxloops) the_settings.mxloops = mxloops; } -/* Whether a blank line is a command terminator. */ -bool -settings_get_nulline (void) -{ - return the_settings.nulline; -} - -/* Set whether a blank line is a command terminator. */ -void -settings_set_nulline ( bool nulline) -{ - the_settings.nulline = nulline; -} - -/* The character used to terminate commands. */ -char -settings_get_endcmd (void) -{ - return the_settings.endcmd; -} - -/* Set the character used to terminate commands. */ -void -settings_set_endcmd ( char endcmd) -{ - the_settings.endcmd = endcmd; -} - /* Approximate maximum amount of memory to use for cases, in bytes. */ size_t