From 33681dd210d7f8d8de0c69fbfaeca5b2946527ae Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Tue, 7 Sep 2010 19:58:10 +0000 Subject: Remove stray spaces. No code change. --- usr.bin/m4/trace.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'usr.bin/m4/trace.c') diff --git a/usr.bin/m4/trace.c b/usr.bin/m4/trace.c index d2a1fb09064..edf58875acc 100644 --- a/usr.bin/m4/trace.c +++ b/usr.bin/m4/trace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trace.c,v 1.15 2006/03/24 08:03:44 espie Exp $ */ +/* $OpenBSD: trace.c,v 1.16 2010/09/07 19:58:09 marco Exp $ */ /* * Copyright (c) 2001 Marc Espie. * @@ -35,7 +35,7 @@ FILE *traceout; -#define TRACE_ARGS 1 +#define TRACE_ARGS 1 #define TRACE_EXPANSION 2 #define TRACE_QUOTE 4 #define TRACE_FILENAME 8 @@ -123,7 +123,7 @@ frame_level() int level; int framep; - for (framep = fp, level = 0; framep != 0; + for (framep = fp, level = 0; framep != 0; level++,framep = mstack[framep-3].sfra) ; return level; @@ -142,7 +142,7 @@ print_header(struct input_file *inp) fprintf(traceout, "id %lu: ", expansion_id); } -size_t +size_t trace(const char *argv[], int argc, struct input_file *inp) { if (!traceout) @@ -160,9 +160,9 @@ trace(const char *argv[], int argc, struct input_file *inp) delim[0] = LPAREN; delim[1] = EOS; for (i = 2; i < argc; i++) { - fprintf(traceout, "%s%s%s%s", delim, - (trace_flags & TRACE_QUOTE) ? lquote : "", - argv[i], + fprintf(traceout, "%s%s%s%s", delim, + (trace_flags & TRACE_QUOTE) ? lquote : "", + argv[i], (trace_flags & TRACE_QUOTE) ? rquote : ""); delim[0] = COMMA; delim[1] = ' '; @@ -183,7 +183,7 @@ trace(const char *argv[], int argc, struct input_file *inp) } } -void +void finish_trace(size_t mark) { fprintf(traceout, " -> "); -- cgit v1.2.3