summaryrefslogtreecommitdiffstats
path: root/libtommath
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-08-19 16:04:36 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-08-19 16:04:36 +0200
commita7befd9b8fba6f6d777f7d8436154dc62f1fa652 (patch)
tree0af1bac520b2d444682b12f48d7d430ebc454811 /libtommath
parent5585282bbf8d8deb7fb2f87bf9110cfda87fb832 (diff)
downloadcryptodev-linux-a7befd9b8fba6f6d777f7d8436154dc62f1fa652.tar.gz
cryptodev-linux-a7befd9b8fba6f6d777f7d8436154dc62f1fa652.tar.xz
cryptodev-linux-a7befd9b8fba6f6d777f7d8436154dc62f1fa652.zip
Do not include linux headers to libtom files. This will allow easier replacement of them.
Diffstat (limited to 'libtommath')
-rw-r--r--libtommath/bn_mp_clear.c1
-rw-r--r--libtommath/bn_mp_grow.c1
-rw-r--r--libtommath/bn_mp_init.c1
-rw-r--r--libtommath/bn_mp_init_size.c1
-rw-r--r--libtommath/bn_mp_prime_random_ex.c1
-rw-r--r--libtommath/bn_mp_shrink.c1
-rw-r--r--libtommath/tommath.h1
7 files changed, 1 insertions, 6 deletions
diff --git a/libtommath/bn_mp_clear.c b/libtommath/bn_mp_clear.c
index 05ee8e7..a65f0a3 100644
--- a/libtommath/bn_mp_clear.c
+++ b/libtommath/bn_mp_clear.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_CLEAR_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_grow.c b/libtommath/bn_mp_grow.c
index 3646c6c..cf2b949 100644
--- a/libtommath/bn_mp_grow.c
+++ b/libtommath/bn_mp_grow.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_GROW_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_init.c b/libtommath/bn_mp_init.c
index 990500b..8be27f5 100644
--- a/libtommath/bn_mp_init.c
+++ b/libtommath/bn_mp_init.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_INIT_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_init_size.c b/libtommath/bn_mp_init_size.c
index ba46d3a..8e01418 100644
--- a/libtommath/bn_mp_init_size.c
+++ b/libtommath/bn_mp_init_size.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_INIT_SIZE_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_prime_random_ex.c b/libtommath/bn_mp_prime_random_ex.c
index 741bfd1..07aae4b 100644
--- a/libtommath/bn_mp_prime_random_ex.c
+++ b/libtommath/bn_mp_prime_random_ex.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_PRIME_RANDOM_EX_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/bn_mp_shrink.c b/libtommath/bn_mp_shrink.c
index 3e38556..4b8c5ef 100644
--- a/libtommath/bn_mp_shrink.c
+++ b/libtommath/bn_mp_shrink.c
@@ -1,5 +1,4 @@
#include <tommath.h>
-#include <linux/slab.h>
#ifdef BN_MP_SHRINK_C
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
diff --git a/libtommath/tommath.h b/libtommath/tommath.h
index 37fb23c..31ded82 100644
--- a/libtommath/tommath.h
+++ b/libtommath/tommath.h
@@ -17,6 +17,7 @@
#include <linux/kernel.h>
#include <linux/mm.h>
+#include <linux/slab.h>
#include <linux/random.h>
#include <linux/ctype.h>