From e1e6f7d0b1ec75750d0249b47db6db9033c27021 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sun, 25 Jan 2015 15:50:24 +0100 Subject: [PATCH] Removed minor warnings under minGW --- programs/fileio.c | 2 +- programs/zstdcli.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/programs/fileio.c b/programs/fileio.c index 83216e8be..453269d7b 100644 --- a/programs/fileio.c +++ b/programs/fileio.c @@ -63,7 +63,7 @@ # include /* _O_BINARY */ # include /* _setmode, _isatty */ # ifdef __MINGW32__ - int _fileno(FILE *stream); /* MINGW somehow forgets to include this windows declaration into */ + /* int _fileno(FILE *stream); // seems no longer useful // MINGW somehow forgets to include this windows declaration into */ # endif # define SET_BINARY_MODE(file) _setmode(_fileno(file), _O_BINARY) # define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream)) diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 9c4784599..5876f557c 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -54,7 +54,7 @@ # include // _O_BINARY # include // _setmode, _isatty # ifdef __MINGW32__ - int _fileno(FILE *stream); // MINGW somehow forgets to include this windows declaration into + /* int _fileno(FILE *stream); // seems no longer useful // MINGW somehow forgets to include this windows declaration into */ # endif # define SET_BINARY_MODE(file) _setmode(_fileno(file), _O_BINARY) # define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream)) @@ -65,9 +65,9 @@ #endif -//**************************** -// Constants -//**************************** +/************************************** +* Constants +**************************************/ #define COMPRESSOR_NAME "zstd command line interface" #ifndef ZSTD_VERSION # define ZSTD_VERSION "v0.0.1" -- 2.47.2