projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix include line and cast char for ANSI C
[unix-history]
/
usr
/
src
/
usr.bin
/
indent
/
io.c
diff --git
a/usr/src/usr.bin/indent/io.c
b/usr/src/usr.bin/indent/io.c
index
986142d
..
9beddb2
100644
(file)
--- a/
usr/src/usr.bin/indent/io.c
+++ b/
usr/src/usr.bin/indent/io.c
@@
-5,7
+5,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)io.c 5.
4
(Berkeley) %G%";
+static char sccsid[] = "@(#)io.c 5.
5
(Berkeley) %G%";
#endif not lint
/*-
#endif not lint
/*-
@@
-65,7
+65,7
@@
static char sccsid[] = "@(#)io.c 5.4 (Berkeley) %G%";
* initial coding November 1976 D A Willcox of CAC
*
*/
\f
* initial coding November 1976 D A Willcox of CAC
*
*/
\f
-#include "indent_globs.h"
;
+#include "indent_globs.h"
@@
-154,7
+154,7
@@
dump_line()
}
cur_col = pad_output(cur_col, target_col);
for (p = s_code; p < e_code; p++)
}
cur_col = pad_output(cur_col, target_col);
for (p = s_code; p < e_code; p++)
- if (*p == 0200)
+ if (*p ==
(char)
0200)
fprintf(output, "%d", target_col * 7);
else
putc(*p, output);
fprintf(output, "%d", target_col * 7);
else
putc(*p, output);