]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
updated comments
authorPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 21 Dec 2016 13:00:41 +0000 (14:00 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 21 Dec 2016 13:00:41 +0000 (14:00 +0100)
programs/fileio.c
programs/zstdcli.c
tests/fuzzer.c
tests/zbufftest.c
tests/zstreamtest.c

index 5544fe30adb16a2e0f767c2daf63424f3d6ab38c..8305fbd763811d4287afb1744781290fa65a8531 100644 (file)
@@ -22,7 +22,7 @@
 /*-*************************************
 *  Includes
 ***************************************/
-#include "util.h"       /* UTIL_getFileSize */
+#include "util.h"       /* SET_BINARY_MODE, UTIL_getFileSize */
 #include <stdio.h>      /* fprintf, fopen, fread, _fileno, stdin, stdout */
 #include <stdlib.h>     /* malloc, free */
 #include <string.h>     /* strcmp, strlen */
index 20698c78de253f41c203b40f9c708fe1d5559ebc..0b6f9241cc8b63ae7ec4c8b777394aeaa5a11364 100644 (file)
@@ -23,7 +23,7 @@
 /*-************************************
 *  Dependencies
 **************************************/
-#include "util.h"     /* UTIL_HAS_CREATEFILELIST, UTIL_createFileList */
+#include "util.h"     /* IS_CONSOLE, UTIL_HAS_CREATEFILELIST, UTIL_createFileList */
 #include <string.h>   /* strcmp, strlen */
 #include <errno.h>    /* errno */
 #include "fileio.h"
index b9b0158ed9516aa6c86510da81e721dde27cd596..86d4c6bebb359f04b8e45a4978fc7d248d3c8952 100644 (file)
@@ -12,6 +12,7 @@
 *  Compiler specific
 **************************************/
 #ifdef _MSC_VER    /* Visual Studio */
+#  define _CRT_SECURE_NO_WARNINGS     /* fgets */
 #  pragma warning(disable : 4127)     /* disable: C4127: conditional expression is constant */
 #  pragma warning(disable : 4204)     /* disable: C4204: non-constant aggregate initializer */
 #endif
index 0fda993fcea46751de865eaf28ced24e8f58f013..14b73923311d1bf64753de28024cbed7d19031bd 100644 (file)
@@ -12,6 +12,7 @@
 *  Compiler specific
 **************************************/
 #ifdef _MSC_VER    /* Visual Studio */
+#  define _CRT_SECURE_NO_WARNINGS     /* fgets */
 #  pragma warning(disable : 4127)     /* disable: C4127: conditional expression is constant */
 #  pragma warning(disable : 4146)     /* disable: C4146: minus unsigned expression */
 #endif
index b52845045b823f3f87c382a95f9fefc7d80a9018..ce619308572cc40af5410b430fa5978691f2ab58 100644 (file)
@@ -12,6 +12,7 @@
 *  Compiler specific
 **************************************/
 #ifdef _MSC_VER    /* Visual Studio */
+#  define _CRT_SECURE_NO_WARNINGS     /* fgets */
 #  pragma warning(disable : 4127)     /* disable: C4127: conditional expression is constant */
 #  pragma warning(disable : 4146)     /* disable: C4146: minus unsigned expression */
 #endif