Skip to content
Permalink
Browse files

oooops...

  • Loading branch information
c0d3z3r0 committed Dec 3, 2019
1 parent 97a7cfe commit 6df60cd3170dbb17a143a138f6d8793a9a0c70f3
Showing with 4 additions and 4 deletions.
  1. +2 −2 include/sys/zstd/zstd.h
  2. +2 −2 module/zstd/zstd.c
@@ -35,8 +35,8 @@ extern "C" {
#endif

/* (de)init for user space / kernel emulation */
int zstd_init(void);
void zstd_fini(void);
extern int zstd_init(void);
extern void zstd_fini(void);

size_t zstd_compress(void *s_start, void *d_start, size_t s_len, size_t d_len,
int n);
@@ -629,7 +629,7 @@ zstd_mempool_deinit(void)
ZSTD_POOL_MAX * sizeof (struct zstd_pool));
}

int __init
extern int __init
zstd_init(void)
{
/* Set pool size by using maximum sane thread count * 4 */
@@ -638,7 +638,7 @@ zstd_init(void)
return (0);
}

void __exit
extern void __exit
zstd_fini(void)
{
kmem_free(zstd_dctx_fallback.mem, zstd_dctx_fallback.mem_size);

0 comments on commit 6df60cd

Please sign in to comment.
You can’t perform that action at this time.