]> git.proxmox.com Git - mirror_qemu.git/commitdiff
crypto: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jan 2016 18:16:55 +0000 (18:16 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2016 15:07:22 +0000 (15:07 +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 <peter.maydell@linaro.org>
Message-id: 1453832250-766-3-git-send-email-peter.maydell@linaro.org

13 files changed:
crypto/aes.c
crypto/cipher-builtin.c
crypto/cipher-gcrypt.c
crypto/cipher-nettle.c
crypto/cipher.c
crypto/desrfb.c
crypto/hash.c
crypto/init.c
crypto/secret.c
crypto/tlscreds.c
crypto/tlscredsanon.c
crypto/tlscredsx509.c
crypto/tlssession.c

index 244a388eba0c3d20e0fe66b2538c12b59f1c55a9..3456eacd0870725b8bebde1a0ff654138985953f 100644 (file)
@@ -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"
 
index 39e31a7f4257ff4086861c4c84b99433266d4973..138b7a005a4b7485735a78ad37944a0b786855ad 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/aes.h"
 #include "crypto/desrfb.h"
 
index c4f811487aaf43bdbbcc68956533915547a477d9..56d4c9d10b78cad68df5841056af2f1725d3074a 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include <gcrypt.h>
 
 
index 7449338d3b657029a9775e5aff89484d5a870719..cd2675c0bca3aff7c0d4768d1523aa4620c759f2 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include <nettle/nettle-types.h>
 #include <nettle/aes.h>
 #include <nettle/des.h>
index 7c333486d2d1d7172d284ddc1743d383b45fa1ac..076dff023cc5a46fe34ca519ddf0503b14540c8b 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/cipher.h"
 
 
index fc20a30dfe93bfd8419496ff0a2f9c4425a7ded0..ec47dea3bbeb012e18f7e77919621c1d4cca2993 100644 (file)
@@ -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 *);
index 6e83f43e4a05ffadc353c9ab84d428b568036c19..33324b6d06d51be4a21218e410fb7b98f836ec98 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/hash.h"
 
 #ifdef CONFIG_GNUTLS_HASH
index d94faacdf274069fc7895feb1a1fb6abc76d6ce9..31eea19bc90c0bb7833c9a056c1b0f2c24086343 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/init.h"
 #include "qemu/thread.h"
 
index a799da1bdb91d650fcfae2e425c2f8f5537dbadc..90592c0a3e9d2e298af3a46116502ded57a6ac7d 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/secret.h"
 #include "crypto/cipher.h"
 #include "qom/object_interfaces.h"
index e7d9c1cfac8aae75fa13d462ba5191022386391e..38bb671198a14c71c5080fc05afaa3b04314adf4 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlscredspriv.h"
 #include "trace.h"
 
index c3fcdaff063d81b198a232981b5195277b03810c..55e2047b764cd077f9011f6937ff45f9c51c05b4 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlscredsanon.h"
 #include "crypto/tlscredspriv.h"
 #include "qom/object_interfaces.h"
index d58fdea347c24c62228b4665e9591c710c115948..8664b825bf99fd309ec708ac6eaff457819a9c45 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlscredsx509.h"
 #include "crypto/tlscredspriv.h"
 #include "crypto/secret.h"
index 373552942cceca5d7c77d3b5eae1cc0dee2a1e42..e0d9658e8028acced7c024f310c435c03a4e3bf1 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlssession.h"
 #include "crypto/tlscredsanon.h"
 #include "crypto/tlscredsx509.h"