]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Address comments
authorDuc Ngo <duc@fb.com>
Mon, 11 Jun 2018 17:01:35 +0000 (10:01 -0700)
committerDuc Ngo <duc@fb.com>
Mon, 11 Jun 2018 17:01:35 +0000 (10:01 -0700)
lib/zstd.h

index e49cc815ef0f969763d5b921febdd9fc234f81cd..99505cba6b7349d36f57a30fe6d56d397c133605 100644 (file)
@@ -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