diff options
-rw-r--r-- | usr.bin/indent/indent.c | 2 | ||||
-rw-r--r-- | usr.bin/indent/indent_globs.h | 1 | ||||
-rw-r--r-- | usr.bin/indent/io.c | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c index f91043f..bd654a8 100644 --- a/usr.bin/indent/indent.c +++ b/usr.bin/indent/indent.c @@ -70,8 +70,6 @@ const char *out_name = "Standard Output"; /* will always point to name * of output file */ char bakfile[MAXPATHLEN] = ""; -extern int found_err; /* flag set in diagN() on error */ - int main(int argc, char **argv) { diff --git a/usr.bin/indent/indent_globs.h b/usr.bin/indent/indent_globs.h index 010b3a3..11ea239 100644 --- a/usr.bin/indent/indent_globs.h +++ b/usr.bin/indent/indent_globs.h @@ -131,6 +131,7 @@ char *bp_save; /* saved value of buf_ptr when taking input char *be_save; /* similarly saved value of buf_end */ +int found_err; int pointer_as_binop; int blanklines_after_declarations; int blanklines_before_blockcomments; diff --git a/usr.bin/indent/io.c b/usr.bin/indent/io.c index 45eb6c2..1e36582 100644 --- a/usr.bin/indent/io.c +++ b/usr.bin/indent/io.c @@ -540,8 +540,6 @@ count_spaces(int current, char *buffer) return (cur); } -int found_err; - void diag4(int level, const char *msg, int a, int b) { |