summaryrefslogtreecommitdiffstats
path: root/usr.bin/indent/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/indent/io.c')
-rw-r--r--usr.bin/indent/io.c52
1 files changed, 26 insertions, 26 deletions
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)
OpenPOWER on IntegriCloud