projects
/
gnuk
/
gnuk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f1fbdd
)
Fix non-use of stdlib.h.
author
NIIBE Yutaka
<gniibe@fsij.org>
Tue, 3 Oct 2017 04:27:12 +0000
(13:27 +0900)
committer
NIIBE Yutaka
<gniibe@fsij.org>
Tue, 3 Oct 2017 04:27:12 +0000
(13:27 +0900)
src/sha256.c
patch
|
blob
|
history
src/sha512.c
patch
|
blob
|
history
diff --git
a/src/sha256.c
b/src/sha256.c
index
a44e22e
..
52e13a9
100644
(file)
--- a/
src/sha256.c
+++ b/
src/sha256.c
@@
-47,7
+47,6
@@
#include <string.h>
#include <stdint.h>
-#include <stdlib.h>
#include "sha256.h"
#define SHA256_MASK (SHA256_BLOCK_SIZE - 1)
diff --git
a/src/sha512.c
b/src/sha512.c
index
fbb6bcf
..
4931a31
100644
(file)
--- a/
src/sha512.c
+++ b/
src/sha512.c
@@
-32,7
+32,6
@@
#include <string.h>
#include <stdint.h>
-#include <stdlib.h>
#include "sha512.h"
#define SHA512_MASK (SHA512_BLOCK_SIZE - 1)