]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
pushed aside stdio.h too
authorYann Collet <cyan@fb.com>
Tue, 26 Nov 2019 23:25:32 +0000 (15:25 -0800)
committerYann Collet <cyan@fb.com>
Tue, 26 Nov 2019 23:25:32 +0000 (15:25 -0800)
since only UTIL_DISPLAY() depended on it.

programs/util.c
programs/util.h

index 703c06552bd0f206738835b2fa8bbda1d73c86a8..5e7a10c1232a087b38c44e3fdf7a892020e0bb24 100644 (file)
@@ -18,6 +18,7 @@ extern "C" {
 ******************************************/
 #include "util.h"       /* note : ensure that platform.h is included first ! */
 #include <stdlib.h>     /* malloc, realloc, free */
+#include <stdio.h>      /* fprintf */
 #include <time.h>       /* clock_t, clock, CLOCKS_PER_SEC, nanosleep */
 #include <errno.h>
 #include <assert.h>
index 7beaec64e815f1aec6a32ac22060d3b91db32bf6..6e8711fd1528c9f6608355785c981702778ec84a 100644 (file)
@@ -21,7 +21,6 @@ extern "C" {
 ******************************************/
 #include "platform.h"     /* PLATFORM_POSIX_VERSION, ZSTD_NANOSLEEP_SUPPORT, ZSTD_SETPRIORITY_SUPPORT */
 #include <stddef.h>       /* size_t, ptrdiff_t */
-#include <stdio.h>        /* fprintf */
 #include <sys/types.h>    /* stat, utime */
 #include <sys/stat.h>     /* stat, chmod */
 #include "mem.h"          /* U64 */