summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@nathanm.com>2020-09-20 16:31:59 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-09-24 15:42:02 +0200
commitb117ba1d75d9ca2f23dcc8445a4d05d58af0123b (patch)
treeb27265ddac453054d9d70b253361c5ef3ec86d0d /tools
parent6b5d0a0851456cb18562e34732ddc84654b1cfe5 (diff)
Fixed tab indentation for inffixed_tbl.h.
Diffstat (limited to 'tools')
-rw-r--r--tools/makefixed.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/tools/makefixed.c b/tools/makefixed.c
index 6a7d061..7fe71e7 100644
--- a/tools/makefixed.c
+++ b/tools/makefixed.c
@@ -46,40 +46,40 @@ void makefixed(void) {
memset(&state, 0, sizeof(state));
buildfixedtables(&state);
- puts(" /* inffixed_tbl.h -- table for decoding fixed codes");
- puts(" * Generated automatically by makefixed().");
- puts(" */");
+ puts("/* inffixed_tbl.h -- table for decoding fixed codes");
+ puts(" * Generated automatically by makefixed().");
+ puts(" */");
puts("");
- puts(" /* WARNING: this file should *not* be used by applications.");
- puts(" It is part of the implementation of this library and is");
- puts(" subject to change. Applications should only use zlib.h.");
- puts(" */");
+ puts("/* WARNING: this file should *not* be used by applications.");
+ puts(" * It is part of the implementation of this library and is");
+ puts(" * subject to change. Applications should only use zlib.h.");
+ puts(" */");
puts("");
size = 1U << 9;
- printf(" static const code lenfix[%u] = {", size);
+ printf("static const code lenfix[%u] = {", size);
low = 0;
for (;;) {
if ((low % 7) == 0)
- printf("\n ");
+ printf("\n ");
printf("{%u,%u,%d}", (low & 127) == 99 ? 64 : state.lencode[low].op,
state.lencode[low].bits, state.lencode[low].val);
if (++low == size)
break;
putchar(',');
}
- puts("\n };");
+ puts("\n};");
size = 1U << 5;
- printf("\n static const code distfix[%u] = {", size);
+ printf("\nstatic const code distfix[%u] = {", size);
low = 0;
for (;;) {
if ((low % 6) == 0)
- printf("\n ");
+ printf("\n ");
printf("{%u,%u,%d}", state.distcode[low].op, state.distcode[low].bits, state.distcode[low].val);
if (++low == size)
break;
putchar(',');
}
- puts("\n };");
+ puts("\n};");
}
// The output of this application can be piped out to recreate inffixed_tbl.h