Explorar el Código

crypto: 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.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1453832250-766-3-git-send-email-peter.maydell@linaro.org
Peter Maydell hace 9 años
padre
commit
42f7a448db

+ 1 - 0
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"
 

+ 1 - 0
crypto/cipher-builtin.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/aes.h"
 #include "crypto/desrfb.h"
 

+ 1 - 0
crypto/cipher-gcrypt.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include <gcrypt.h>
 
 

+ 1 - 0
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>

+ 1 - 0
crypto/cipher.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/cipher.h"
 
 

+ 1 - 0
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 *);

+ 1 - 0
crypto/hash.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/hash.h"
 
 #ifdef CONFIG_GNUTLS_HASH

+ 1 - 0
crypto/init.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/init.h"
 #include "qemu/thread.h"
 

+ 1 - 0
crypto/secret.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/secret.h"
 #include "crypto/cipher.h"
 #include "qom/object_interfaces.h"

+ 1 - 0
crypto/tlscreds.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlscredspriv.h"
 #include "trace.h"
 

+ 1 - 0
crypto/tlscredsanon.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlscredsanon.h"
 #include "crypto/tlscredspriv.h"
 #include "qom/object_interfaces.h"

+ 1 - 0
crypto/tlscredsx509.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlscredsx509.h"
 #include "crypto/tlscredspriv.h"
 #include "crypto/secret.h"

+ 1 - 0
crypto/tlssession.c

@@ -18,6 +18,7 @@
  *
  */
 
+#include "qemu/osdep.h"
 #include "crypto/tlssession.h"
 #include "crypto/tlscredsanon.h"
 #include "crypto/tlscredsx509.h"