qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 02/37] crypto: Clean up includes


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 02/37] crypto: Clean up includes
Date: Tue, 26 Jan 2016 18:16:55 +0000

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.

Signed-off-by: Peter Maydell <address@hidden>
---
 crypto/aes.c            | 1 +
 crypto/cipher-builtin.c | 1 +
 crypto/cipher-gcrypt.c  | 1 +
 crypto/cipher-nettle.c  | 1 +
 crypto/cipher.c         | 1 +
 crypto/desrfb.c         | 1 +
 crypto/hash.c           | 1 +
 crypto/init.c           | 1 +
 crypto/secret.c         | 1 +
 crypto/tlscreds.c       | 1 +
 crypto/tlscredsanon.c   | 1 +
 crypto/tlscredsx509.c   | 1 +
 crypto/tlssession.c     | 1 +
 13 files changed, 13 insertions(+)

diff --git a/crypto/aes.c b/crypto/aes.c
index 244a388..3456eac 100644
--- a/crypto/aes.c
+++ b/crypto/aes.c
@@ -27,6 +27,7 @@
  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+#include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "crypto/aes.h"
 
diff --git a/crypto/cipher-builtin.c b/crypto/cipher-builtin.c
index 39e31a7..138b7a0 100644
--- a/crypto/cipher-builtin.c
+++ b/crypto/cipher-builtin.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/aes.h"
 #include "crypto/desrfb.h"
 
diff --git a/crypto/cipher-gcrypt.c b/crypto/cipher-gcrypt.c
index c4f8114..56d4c9d 100644
--- a/crypto/cipher-gcrypt.c
+++ b/crypto/cipher-gcrypt.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include <gcrypt.h>
 
 
diff --git a/crypto/cipher-nettle.c b/crypto/cipher-nettle.c
index 7449338..cd2675c 100644
--- a/crypto/cipher-nettle.c
+++ b/crypto/cipher-nettle.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include <nettle/nettle-types.h>
 #include <nettle/aes.h>
 #include <nettle/des.h>
diff --git a/crypto/cipher.c b/crypto/cipher.c
index 7c33348..076dff0 100644
--- a/crypto/cipher.c
+++ b/crypto/cipher.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/cipher.h"
 
 
diff --git a/crypto/desrfb.c b/crypto/desrfb.c
index fc20a30..ec47dea 100644
--- a/crypto/desrfb.c
+++ b/crypto/desrfb.c
@@ -26,6 +26,7 @@
  * (GEnie : OUTER; CIS : [71755,204]) Graven Imagery, 1992.
  */
 
+#include "qemu/osdep.h"
 #include "crypto/desrfb.h"
 
 static void scrunch(unsigned char *, unsigned long *);
diff --git a/crypto/hash.c b/crypto/hash.c
index 6e83f43..33324b6 100644
--- a/crypto/hash.c
+++ b/crypto/hash.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/hash.h"
 
 #ifdef CONFIG_GNUTLS_HASH
diff --git a/crypto/init.c b/crypto/init.c
index d94faac..31eea19 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/init.h"
 #include "qemu/thread.h"
 
diff --git a/crypto/secret.c b/crypto/secret.c
index a799da1..90592c0 100644
--- a/crypto/secret.c
+++ b/crypto/secret.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/secret.h"
 #include "crypto/cipher.h"
 #include "qom/object_interfaces.h"
diff --git a/crypto/tlscreds.c b/crypto/tlscreds.c
index e7d9c1c..38bb671 100644
--- a/crypto/tlscreds.c
+++ b/crypto/tlscreds.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlscredspriv.h"
 #include "trace.h"
 
diff --git a/crypto/tlscredsanon.c b/crypto/tlscredsanon.c
index c3fcdaf..55e2047 100644
--- a/crypto/tlscredsanon.c
+++ b/crypto/tlscredsanon.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlscredsanon.h"
 #include "crypto/tlscredspriv.h"
 #include "qom/object_interfaces.h"
diff --git a/crypto/tlscredsx509.c b/crypto/tlscredsx509.c
index d58fdea..8664b82 100644
--- a/crypto/tlscredsx509.c
+++ b/crypto/tlscredsx509.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlscredsx509.h"
 #include "crypto/tlscredspriv.h"
 #include "crypto/secret.h"
diff --git a/crypto/tlssession.c b/crypto/tlssession.c
index 3735529..e0d9658 100644
--- a/crypto/tlssession.c
+++ b/crypto/tlssession.c
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlssession.h"
 #include "crypto/tlscredsanon.h"
 #include "crypto/tlscredsx509.h"
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]