X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/de355530ae67247cbd0da700edb3a2a1dae884c2..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/bsd/dev/random/YarrowCoreLib/src/comp.c diff --git a/bsd/dev/random/YarrowCoreLib/src/comp.c b/bsd/dev/random/YarrowCoreLib/src/comp.c index 91c1844a0..8d2faeea0 100644 --- a/bsd/dev/random/YarrowCoreLib/src/comp.c +++ b/bsd/dev/random/YarrowCoreLib/src/comp.c @@ -32,24 +32,26 @@ #ifdef YARROW_KERNEL /* null compression */ -comp_error_status comp_init(COMP_CTX* ctx) +comp_error_status comp_init(__unused COMP_CTX* ctx) { return COMP_SUCCESS; } -comp_error_status comp_add_data(COMP_CTX* ctx,Bytef* inp,uInt inplen) +comp_error_status comp_add_data( __unused COMP_CTX* ctx, + __unused Bytef* inp, + __unused uInt inplen ) { return COMP_SUCCESS; } -comp_error_status comp_get_ratio(COMP_CTX* ctx,float* out) +comp_error_status comp_get_ratio( __unused COMP_CTX* ctx,float* out ) { *out = 1.0; return COMP_SUCCESS; } -comp_error_status comp_end(COMP_CTX* ctx) +comp_error_status comp_end( __unused COMP_CTX* ctx ) { return COMP_SUCCESS; }