From a8f3bf04aee8f1c6716a420719af57cd6c5a7caa Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 23 Dec 2012 01:21:01 -0600 Subject: Whitespace. --- toys/lsb/seq.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'toys') diff --git a/toys/lsb/seq.c b/toys/lsb/seq.c index 2aac4bbf..bf5cab1c 100644 --- a/toys/lsb/seq.c +++ b/toys/lsb/seq.c @@ -16,6 +16,7 @@ config SEQ Count from first to last, by increment. Omitted arguments default to 1. Two arguments are used as first and last. Arguments can be negative or floating point. + -f Use fmt_str as a floating point format string -s Use sep_str as separator, default is a newline character */ @@ -24,16 +25,17 @@ config SEQ #include "toys.h" GLOBALS( - char * sep; - char * fmt; + char *sep; + char *fmt; ) void seq_main(void) { double first, increment, last, dd; - char * sep_str = "\n"; - char * fmt_str = "%g"; + char *sep_str = "\n"; + char *fmt_str = "%g"; int output = 0; + // Parse command line arguments, with appropriate defaults. // Note that any non-numeric arguments are treated as zero. first = increment = 1; -- cgit v1.2.3