minor code refactor in HUF module

This commit is contained in:
Yann Collet
2017-03-05 21:07:20 -08:00
parent 5d801278dc
commit 1f2c95c5f3
3 changed files with 11 additions and 20 deletions
+2 -12
View File
@@ -43,25 +43,15 @@
#include "huf.h"
/*-****************************************
* Version
******************************************/
/*=== Version ===*/
unsigned FSE_versionNumber(void) { return FSE_VERSION_NUMBER; }
/*-****************************************
* FSE Error Management
******************************************/
/*=== Error Management ===*/
unsigned FSE_isError(size_t code) { return ERR_isError(code); }
const char* FSE_getErrorName(size_t code) { return ERR_getErrorName(code); }
/* **************************************************************
* HUF Error Management
****************************************************************/
unsigned HUF_isError(size_t code) { return ERR_isError(code); }
const char* HUF_getErrorName(size_t code) { return ERR_getErrorName(code); }