]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Merge pull request #796 from terrelln/is-error
authorYann Collet <Cyan4973@users.noreply.github.com>
Tue, 15 Aug 2017 19:37:28 +0000 (12:37 -0700)
committerGitHub <noreply@github.com>
Tue, 15 Aug 2017 19:37:28 +0000 (12:37 -0700)
[FSE][HUF] Inline error checks

1  2 
lib/common/fse_decompress.c
lib/compress/fse_compress.c
lib/decompress/huf_decompress.c

index 6bcc6b20a48f003e015fca8770a5cfe6310586a2,1a19779894246780cc319fee83ff8f9573a11427..8e3f0035f69a09a0e933ee9e6e06656d58c582d8
  #include <stdlib.h>     /* malloc, free, qsort */
  #include <string.h>     /* memcpy, memset */
  #include "bitstream.h"
 +#include "compiler.h"
  #define FSE_STATIC_LINKING_ONLY
  #include "fse.h"
+ #include "error_private.h"
  
  
  /* **************************************************************
index 50a1302508ead26f47fb9a34e0e11e023d0862d4,05ccc3fd5d0887f81b7614af840ee36a339f24d4..cc9fa73514ade7af57bf247526a65ee562650266
  #include <string.h>     /* memcpy, memset */
  #include <stdio.h>      /* printf (debug) */
  #include "bitstream.h"
 +#include "compiler.h"
  #define FSE_STATIC_LINKING_ONLY
  #include "fse.h"
+ #include "error_private.h"
  
  
  /* **************************************************************
Simple merge