Skip to content

Commit

Permalink
crypto: Clean up includes
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pm215 committed Jan 29, 2016
1 parent 1393a48 commit 42f7a44
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions crypto/aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions crypto/cipher-builtin.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include "crypto/aes.h"
#include "crypto/desrfb.h"

Expand Down
1 change: 1 addition & 0 deletions crypto/cipher-gcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include <gcrypt.h>


Expand Down
1 change: 1 addition & 0 deletions crypto/cipher-nettle.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include <nettle/nettle-types.h>
#include <nettle/aes.h>
#include <nettle/des.h>
Expand Down
1 change: 1 addition & 0 deletions crypto/cipher.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include "crypto/cipher.h"


Expand Down
1 change: 1 addition & 0 deletions crypto/desrfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down
1 change: 1 addition & 0 deletions crypto/hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include "crypto/hash.h"

#ifdef CONFIG_GNUTLS_HASH
Expand Down
1 change: 1 addition & 0 deletions crypto/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include "crypto/init.h"
#include "qemu/thread.h"

Expand Down
1 change: 1 addition & 0 deletions crypto/secret.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include "crypto/secret.h"
#include "crypto/cipher.h"
#include "qom/object_interfaces.h"
Expand Down
1 change: 1 addition & 0 deletions crypto/tlscreds.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include "crypto/tlscredspriv.h"
#include "trace.h"

Expand Down
1 change: 1 addition & 0 deletions crypto/tlscredsanon.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include "crypto/tlscredsanon.h"
#include "crypto/tlscredspriv.h"
#include "qom/object_interfaces.h"
Expand Down
1 change: 1 addition & 0 deletions crypto/tlscredsx509.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include "crypto/tlscredsx509.h"
#include "crypto/tlscredspriv.h"
#include "crypto/secret.h"
Expand Down
1 change: 1 addition & 0 deletions crypto/tlssession.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*
*/

#include "qemu/osdep.h"
#include "crypto/tlssession.h"
#include "crypto/tlscredsanon.h"
#include "crypto/tlscredsx509.h"
Expand Down

0 comments on commit 42f7a44

Please sign in to comment.