1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

fixing some warning

This commit is contained in:
Ahmed Abdellah
2019-10-24 14:42:37 +01:00
parent 5e206fdd53
commit cddb05ef8c
3 changed files with 27 additions and 9 deletions

View File

@ -151,8 +151,8 @@ int UTIL_readLineFromFile(char* buf, size_t len, FILE* file);
/*Note: tableSize is denotes the total capacity of table*/
typedef struct
{
const char** fileNames = NULL;
char* buf = NULL;
const char** fileNames;
char* buf;
size_t tableSize;
} FileNamesTable;
@ -163,6 +163,16 @@ typedef struct
*/
FileNamesTable* UTIL_createFileNamesTable_fromFileName(const char* inputFileName);
/*! UTIL_freeFileNamesTable(const char** filenames, char* buf, size_t tableSize) :
* This function takes an buffered based filename, buf and tableSize to create its object.
* @return : FileNamesTable*
*/
FileNamesTable*
UTIL_createFileNamesTable(const char** filenames, char* buf, size_t tableSize);
/*! UTIL_freeFileNamesTable(FileNamesTable* table) :
* This function takes an buffered based table and frees it.
* @return : void.