aboutsummaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 11:58:03 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-23 12:43:05 +0000
commit90ce6e2644db2c47d72f364b4de57342e50bd10a (patch)
tree0107d6e91d0e48618720b4c5d4fd00740ae6fcbd /include/crypto
parent974dc73d778a3b1c09a06a6a41af159537eba595 (diff)
include: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. NB: If this commit breaks compilation for your out-of-tree patchseries or fork, then you need to make sure you add #include "qemu/osdep.h" to any new .c files that you have. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/cipher.h1
-rw-r--r--include/crypto/hash.h1
-rw-r--r--include/crypto/init.h1
-rw-r--r--include/crypto/secret.h1
-rw-r--r--include/crypto/tlscreds.h1
5 files changed, 0 insertions, 5 deletions
diff --git a/include/crypto/cipher.h b/include/crypto/cipher.h
index f90ac79567..c04c3ac9b9 100644
--- a/include/crypto/cipher.h
+++ b/include/crypto/cipher.h
@@ -22,7 +22,6 @@
#define QCRYPTO_CIPHER_H__
#include "qemu-common.h"
-#include "qapi/error.h"
typedef struct QCryptoCipher QCryptoCipher;
diff --git a/include/crypto/hash.h b/include/crypto/hash.h
index 5e8d9a1372..aebccd1386 100644
--- a/include/crypto/hash.h
+++ b/include/crypto/hash.h
@@ -22,7 +22,6 @@
#define QCRYPTO_HASH_H__
#include "qemu-common.h"
-#include "qapi/error.h"
/* See also "QCryptoHashAlgorithm" defined in qapi/crypto.json */
diff --git a/include/crypto/init.h b/include/crypto/init.h
index 5fc510c4f8..4836a37e3f 100644
--- a/include/crypto/init.h
+++ b/include/crypto/init.h
@@ -22,7 +22,6 @@
#define QCRYPTO_INIT_H__
#include "qemu-common.h"
-#include "qapi/error.h"
int qcrypto_init(Error **errp);
diff --git a/include/crypto/secret.h b/include/crypto/secret.h
index 913519ae27..60f2a502b7 100644
--- a/include/crypto/secret.h
+++ b/include/crypto/secret.h
@@ -22,7 +22,6 @@
#define QCRYPTO_SECRET_H__
#include "qemu-common.h"
-#include "qapi/error.h"
#include "qom/object.h"
#define TYPE_QCRYPTO_SECRET "secret"
diff --git a/include/crypto/tlscreds.h b/include/crypto/tlscreds.h
index 21761b7ce1..4bf1d2e255 100644
--- a/include/crypto/tlscreds.h
+++ b/include/crypto/tlscreds.h
@@ -22,7 +22,6 @@
#define QCRYPTO_TLSCRED_H__
#include "qemu-common.h"
-#include "qapi/error.h"
#include "qom/object.h"
#ifdef CONFIG_GNUTLS