mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Improve cosmocc toolchain
- Decouple zlib from libc - Add some underscores to mostly internal names
This commit is contained in:
parent
713d4424c6
commit
ba180e754d
25 changed files with 128 additions and 42 deletions
|
@ -20,7 +20,7 @@
|
|||
#include "libc/intrin/weaken.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "third_party/zlib/puff.h"
|
||||
#include "third_party/puff/puff.h"
|
||||
#include "third_party/zlib/zlib.h"
|
||||
|
||||
/**
|
||||
|
@ -54,7 +54,7 @@ int __inflate(void *out, size_t outsize, const void *in, size_t insize) {
|
|||
rc = rc;
|
||||
}
|
||||
} else {
|
||||
rc = puff(out, &outsize, in, &insize);
|
||||
rc = _puff(out, &outsize, in, &insize);
|
||||
}
|
||||
STRACE("inflate([%#.*hhs%s], %'zu, %#.*hhs%s, %'zu) → %d", MIN(40, outsize),
|
||||
out, outsize > 40 ? "..." : "", outsize, MIN(40, insize), in,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue