]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
digest: omit unnecessary b2sum includes
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Oct 2023 15:56:39 +0000 (08:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 Oct 2023 07:58:03 +0000 (00:58 -0700)
* src/blake2/b2sum.c: Do not include string.h, errno.h,
ctype.h, unistd.h, getopt.h.

src/blake2/b2sum.c

index 1a7e99f0e25223898e893700553689c906147cbe..5d69ff8d4cde22d74d0550077740a3e2d5daf7dd 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-
-#include <ctype.h>
-#include <unistd.h>
-#include <getopt.h>
 
 #include "blake2.h"
 
@@ -133,6 +127,11 @@ cleanup_buffer:
 
 #if 0
 
+#include <errno.h>
+#include <getopt.h>
+#include <string.h>
+#include <unistd.h>
+
 int blake2sp_stream( FILE *stream, void *resstream, size_t outbytes )
 {
   int ret = -1;