minor code refactor in HUF module

This commit is contained in:
Yann Collet committed 2017-03-05 21:07:20 -08:00
1 parent 5d801278dc
commit 1f2c95c5f3
3 files changed
+11 -20

No files matched your search

+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); }