diff options
author | Eugene Kliuchnikov <eustas.ru@gmail.com> | 2021-08-18 19:15:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-18 19:15:07 +0200 |
commit | 68f1b90ad0d204907beb58304d0bd06391001a4d (patch) | |
tree | 15fcfe4d6dd5a3058f49e8a6c680afb2ec4c97d0 /c | |
parent | 19d86fb9a60aa7034d4981b69a5b656f5b90017e (diff) | |
download | brotli-68f1b90ad0d204907beb58304d0bd06391001a4d.zip brotli-68f1b90ad0d204907beb58304d0bd06391001a4d.tar.gz brotli-68f1b90ad0d204907beb58304d0bd06391001a4d.tar.bz2 |
Update (#918)
Prepare to use copybara worklow.
Diffstat (limited to 'c')
-rw-r--r-- | c/enc/encode.c | 2 | ||||
-rw-r--r-- | c/enc/params.h | 2 | ||||
-rw-r--r-- | c/include/brotli/port.h | 7 |
3 files changed, 6 insertions, 5 deletions
diff --git a/c/enc/encode.c b/c/enc/encode.c index 4a68c3c..9720f19 100644 --- a/c/enc/encode.c +++ b/c/enc/encode.c @@ -1238,7 +1238,7 @@ static size_t WriteMetadataHeader( return (storage_ix + 7u) >> 3; } -static BROTLI_BOOL BrotliCompressBufferQuality10( +static BROTLI_NOINLINE BROTLI_BOOL BrotliCompressBufferQuality10( int lgwin, size_t input_size, const uint8_t* input_buffer, size_t* encoded_size, uint8_t* encoded_buffer) { MemoryManager* m = diff --git a/c/enc/params.h b/c/enc/params.h index c4c0642..cc329b5 100644 --- a/c/enc/params.h +++ b/c/enc/params.h @@ -40,7 +40,7 @@ typedef struct BrotliEncoderParams { BROTLI_BOOL large_window; BrotliHasherParams hasher; BrotliDistanceParams dist; - /* TODO(eustas): rename to BrotliShared... */ + /* TODO: rename to BrotliShared... */ SharedEncoderDictionary dictionary; } BrotliEncoderParams; diff --git a/c/include/brotli/port.h b/c/include/brotli/port.h index 825237a..395b29b 100644 --- a/c/include/brotli/port.h +++ b/c/include/brotli/port.h @@ -247,9 +247,10 @@ #define BROTLI_PUBLIC #endif -#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \ - !defined(__STDC_NO_VLA__) && !defined(__cplusplus) && \ - !defined(__PGI) && !defined(__PGIC__) && !defined(__TINYC__) +#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \ + !defined(__STDC_NO_VLA__) && !defined(__cplusplus) && \ + !defined(__PGI) && !defined(__PGIC__) && !defined(__TINYC__) && \ + !defined(__clang__) #define BROTLI_ARRAY_PARAM(name) (name) #else #define BROTLI_ARRAY_PARAM(name) |