Skip to content

Commit

Permalink
Re-apply a78f19d
Browse files Browse the repository at this point in the history
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Closes openzfs#12978
  • Loading branch information
rincebrain authored and andrewc12 committed Sep 23, 2022
1 parent 3ee3d43 commit bbd870e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions module/zstd/include/zstd_compat_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@
zfs_ZSTD_insertAndFindFirstIndex_internal
#define ZSTD_insertBlock zfs_ZSTD_insertBlock
#define ZSTD_invalidateRepCodes zfs_ZSTD_invalidateRepCodes
#define ZSTD_isError zfs_ZSTD_isError
#define ZSTD_isFrame zfs_ZSTD_isFrame
#define ZSTD_ldm_adjustParameters zfs_ZSTD_ldm_adjustParameters
#define ZSTD_ldm_blockCompress zfs_ZSTD_ldm_blockCompress
Expand Down
2 changes: 1 addition & 1 deletion module/zstd/lib/common/zstd_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const char* ZSTD_versionString(void) { return ZSTD_VERSION_STRING; }
/*-****************************************
* ZSTD Error Management
******************************************/
#undef ZSTD_isError /* defined within zstd_internal.h */

/*! ZSTD_isError() :
* tells if a return value is an error code
* symbol is required for external callers */
Expand Down
1 change: 0 additions & 1 deletion module/zstd/lib/common/zstd_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ extern "C" {

/* ---- static assert (debug) --- */
#define ZSTD_STATIC_ASSERT(c) DEBUG_STATIC_ASSERT(c)
#define ZSTD_isError ERR_isError /* for inlining */
#define FSE_isError ERR_isError
#define HUF_isError ERR_isError

Expand Down

0 comments on commit bbd870e

Please sign in to comment.