X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Foptions.c;h=227b132aa0d34932abeaba0b85250a7784b21688;hb=1fdb506564f971fc4241b39fd8ba94956d6eeaef;hp=c05ea746c04d199e6f936d60ef5107af9fffdb5a;hpb=bfafd2fc47742719938ce1219f445b3ad25fb703;p=pspp diff --git a/src/output/options.c b/src/output/options.c index c05ea746c0..227b132aa0 100644 --- a/src/output/options.c +++ b/src/output/options.c @@ -107,10 +107,10 @@ parse_boolean (struct driver_option o) O has no user-specified value, then O's default value is treated the same way. If the default value still does not match, parse_enum() returns 0. - Example: parse_enum (o, "a", 1, "b", 2, NULL_SENTINEL) returns 1 if O's - value if "a", 2 if O's value is "b". */ + Example: parse_enum (o, "a", 1, "b", 2) returns 1 if O's value if "a", 2 if + O's value is "b". */ int -parse_enum (struct driver_option o, ...) +(parse_enum) (struct driver_option o, ...) { va_list args; va_start (args, o);