From: Peter Maydell Date: Tue, 26 Jan 2016 18:16:55 +0000 (+0000) Subject: crypto: Clean up includes X-Git-Tag: v2.6.0-rc0~196 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42f7a448dbc5d550b1d7f0ee6b622acccaed1d12;p=thirdparty%2Fqemu.git 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 Message-id: 1453832250-766-3-git-send-email-peter.maydell@linaro.org --- diff --git a/crypto/aes.c b/crypto/aes.c index 244a388eba0..3456eacd087 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 39e31a7f425..138b7a005a4 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 c4f811487aa..56d4c9d10b7 100644 --- a/crypto/cipher-gcrypt.c +++ b/crypto/cipher-gcrypt.c @@ -18,6 +18,7 @@ * */ +#include "qemu/osdep.h" #include diff --git a/crypto/cipher-nettle.c b/crypto/cipher-nettle.c index 7449338d3b6..cd2675c0bca 100644 --- a/crypto/cipher-nettle.c +++ b/crypto/cipher-nettle.c @@ -18,6 +18,7 @@ * */ +#include "qemu/osdep.h" #include #include #include diff --git a/crypto/cipher.c b/crypto/cipher.c index 7c333486d2d..076dff023cc 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 fc20a30dfe9..ec47dea3bbe 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 6e83f43e4a0..33324b6d06d 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 d94faacdf27..31eea19bc90 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 a799da1bdb9..90592c0a3e9 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 e7d9c1cfac8..38bb671198a 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 c3fcdaff063..55e2047b764 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 d58fdea347c..8664b825bf9 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 373552942cc..e0d9658e802 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"