summaryrefslogtreecommitdiff
path: root/usr.bin/m4/trace.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2010-09-07 19:58:10 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2010-09-07 19:58:10 +0000
commit33681dd210d7f8d8de0c69fbfaeca5b2946527ae (patch)
tree7f5cb6675f12a57a7b23c51ba7773f26f31051dc /usr.bin/m4/trace.c
parent05a383ed1a02b670c073c4ebe960fccb1632ea1d (diff)
Remove stray spaces. No code change.
Diffstat (limited to 'usr.bin/m4/trace.c')
-rw-r--r--usr.bin/m4/trace.c16
1 files changed, 8 insertions, 8 deletions
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, " -> ");