From e8ef725e1346b6551e8733c80b87f80894794ee5 Mon Sep 17 00:00:00 2001 From: Duc Ngo Date: Mon, 11 Jun 2018 10:01:35 -0700 Subject: [PATCH] Address comments --- lib/zstd.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/zstd.h b/lib/zstd.h index e49cc815..99505cba 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -34,15 +34,6 @@ extern "C" { # define ZSTDLIB_API ZSTDLIB_VISIBILITY #endif - -/*-************************************* -* Tuning parameters -***************************************/ -#ifndef ZSTD_CLEVEL_DEFAULT -# define ZSTD_CLEVEL_DEFAULT 3 -#endif - - /******************************************************************************************************* Introduction @@ -78,6 +69,12 @@ ZSTDLIB_API unsigned ZSTD_versionNumber(void); /**< useful to check dll versio #define ZSTD_VERSION_STRING ZSTD_EXPAND_AND_QUOTE(ZSTD_LIB_VERSION) ZSTDLIB_API const char* ZSTD_versionString(void); /* added in v1.3.0 */ +/*************************************** +* Default constant +***************************************/ +#ifndef ZSTD_CLEVEL_DEFAULT +# define ZSTD_CLEVEL_DEFAULT 3 +#endif /*************************************** * Simple API