From: senhuang42 Date: Fri, 4 Sep 2020 00:22:34 +0000 (-0400) Subject: Remove extraneous FIO_ctx_t functions X-Git-Tag: v1.4.7~77^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60ee0519ca7085f005ce6e91525ca7e5a8c5cdc0;p=thirdparty%2Fzstd.git Remove extraneous FIO_ctx_t functions --- diff --git a/programs/fileio.c b/programs/fileio.c index a5f7cb64a..51f8af45c 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -539,26 +539,6 @@ void FIO_setNbFilesTotal(FIO_ctx_t* const fCtx, int value) fCtx->nbFilesTotal = value; } -void FIO_setNbFilesProcessed(FIO_ctx_t* const fCtx, int value) -{ - fCtx->nbFilesProcessed = value; -} - -void FIO_setCurrFileIdx(FIO_ctx_t* const fCtx, int value) -{ - fCtx->currFileIdx = value; -} - -void FIO_setTotalBytesInput(FIO_ctx_t* const fCtx, size_t value) -{ - fCtx->totalBytesInput = value; -} - -void FIO_setTotalBytesOutput(FIO_ctx_t* const fCtx, size_t value) -{ - fCtx->totalBytesOutput = value; -} - /*-************************************* * Functions ***************************************/ diff --git a/programs/fileio.h b/programs/fileio.h index a70e49056..eeede526c 100644 --- a/programs/fileio.h +++ b/programs/fileio.h @@ -106,10 +106,6 @@ void FIO_setContentSize(FIO_prefs_t* const prefs, int value); /* FIO_ctx_t functions */ void FIO_setNbFilesTotal(FIO_ctx_t* const fCtx, int value); -void FIO_setNbFilesProcessed(FIO_ctx_t* const fCtx, int value); -void FIO_setCurrFileIdx(FIO_ctx_t* const fCtx, int value); -void FIO_setTotalBytesInput(FIO_ctx_t* const fCtx, size_t value); -void FIO_setTotalBytesOutput(FIO_ctx_t* const fCtx, size_t value); /*-************************************* * Single File functions