From a14d555c873398b14776ca4f2c33f9c69617afb9 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Tue, 30 May 1995 06:41:30 +0000 Subject: Remove trailing whitespace. --- usr.bin/indent/io.c | 52 +++++++++++++++++++++++++------------------------- usr.bin/indent/lexi.c | 4 ++-- usr.bin/indent/parse.c | 22 ++++++++++----------- 3 files changed, 39 insertions(+), 39 deletions(-) (limited to 'usr.bin/indent') diff --git a/usr.bin/indent/io.c b/usr.bin/indent/io.c index 4615db2..ae98242 100644 --- a/usr.bin/indent/io.c +++ b/usr.bin/indent/io.c @@ -314,18 +314,18 @@ compute_label_target() /* * Copyright (C) 1976 by the Board of Trustees of the University of Illinois - * + * * All rights reserved - * - * + * + * * NAME: fill_buffer - * + * * FUNCTION: Reads one block of input into input_buffer - * + * * HISTORY: initial coding November 1976 D A Willcox of CAC 1/7/77 A * Willcox of CAC Added check for switch back to partly full input * buffer from temporary buffer - * + * */ int fill_buffer() @@ -416,31 +416,31 @@ fill_buffer() /* * Copyright (C) 1976 by the Board of Trustees of the University of Illinois - * + * * All rights reserved - * - * + * + * * NAME: pad_output - * + * * FUNCTION: Writes tabs and spaces to move the current column up to the desired * position. - * + * * ALGORITHM: Put tabs and/or blanks into pobuf, then write pobuf. - * + * * PARAMETERS: current integer The current column target * nteger The desired column - * + * * RETURNS: Integer value of the new column. (If current >= target, no action is * taken, and current is returned. - * + * * GLOBALS: None - * + * * CALLS: write (sys) - * + * * CALLED BY: dump_line - * + * * HISTORY: initial coding November 1976 D A Willcox of CAC - * + * */ pad_output(current, target) /* writes tabs and blanks (if necessary) to * get the current output position up to the @@ -469,23 +469,23 @@ pad_output(current, target) /* writes tabs and blanks (if necessary) to /* * Copyright (C) 1976 by the Board of Trustees of the University of Illinois - * + * * All rights reserved - * - * + * + * * NAME: count_spaces - * + * * FUNCTION: Find out where printing of a given string will leave the current * character position on output. - * + * * ALGORITHM: Run thru input string and add appropriate values to current * position. - * + * * RETURNS: Integer value of position after printing "buffer" starting in column * "current". - * + * * HISTORY: initial coding November 1976 D A Willcox of CAC - * + * */ int count_spaces(current, buffer) diff --git a/usr.bin/indent/lexi.c b/usr.bin/indent/lexi.c index 8da9d2c..69f2431 100644 --- a/usr.bin/indent/lexi.c +++ b/usr.bin/indent/lexi.c @@ -120,7 +120,7 @@ int lexi() { int unary_delim; /* this is set to 1 if the current token - * + * * forces a following operator to be unary */ static int last_code; /* the last token type returned */ static int l_struct; /* set to 1 if the last token was 'struct' */ @@ -146,7 +146,7 @@ lexi() * we have a character or number */ register char *j; /* used for searching thru list of - * + * * reserved words */ register struct templ *p; diff --git a/usr.bin/indent/parse.c b/usr.bin/indent/parse.c index fef22cf..f3a4b44 100644 --- a/usr.bin/indent/parse.c +++ b/usr.bin/indent/parse.c @@ -205,12 +205,12 @@ parse(tk) /* * NAME: reduce - * + * * FUNCTION: Implements the reduce part of the parsing algorithm - * + * * ALGORITHM: The following reductions are done. Reductions are repeated * until no more are possible. - * + * * Old TOS New TOS * * @@ -222,22 +222,22 @@ parse(tk) * for * while * "dostmt" while - * + * * On each reduction, ps.i_l_follow (the indentation for the following line) * is set to the indentation level associated with the old TOS. - * + * * PARAMETERS: None - * + * * RETURNS: Nothing - * + * * GLOBALS: ps.cstk ps.i_l_follow = ps.il ps.p_stack = ps.tos = - * + * * CALLS: None - * + * * CALLED BY: parse - * + * * HISTORY: initial coding November 1976 D A Willcox of CAC - * + * */ /*----------------------------------------------*\ | REDUCTION PHASE | -- cgit v1.1