diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-11-19 18:39:24 +0100 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2021-11-20 14:45:31 +0100 |
commit | f3e8e23223504a3abfa5446dbfda1189a45d0aaf (patch) | |
tree | a0b6aac271cf186b8b2e22d53c6d2cd0b2565c84 | |
parent | 888c3a451ba1ee0e50f84c5f8dfdd6a3ba613a36 (diff) |
crypto/: Don't redefine NULL
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r-- | crypto/jitterentropy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/jitterentropy.c b/crypto/jitterentropy.c index 4dc2261cdeef..463a05a77e53 100644 --- a/crypto/jitterentropy.c +++ b/crypto/jitterentropy.c @@ -50,6 +50,10 @@ * version 2.2.0 provided at https://www.chronox.de/jent.html */ + +#include <linux/NULL.h> + + #ifdef __OPTIMIZE__ #error "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy.c." #endif @@ -57,7 +61,6 @@ typedef unsigned long long __u64; typedef long long __s64; typedef unsigned int __u32; -#define NULL ((void *) 0) /* The entropy pool */ struct rand_data { |