Skip to content

Commit

Permalink
alpha: 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-12-git-send-email-peter.maydell@linaro.org
  • Loading branch information
pm215 committed Jan 29, 2016
1 parent b6a0aa0 commit e2e5e11
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion disas/alpha.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License
along with this file; see the file COPYING. If not, see
<http://www.gnu.org/licenses/>. */

#include <stdio.h>
#include "qemu/osdep.h"
#include "disas/bfd.h"

/* MAX is redefined below, so remove any previous definition. */
Expand Down
1 change: 1 addition & 0 deletions hw/alpha/dp264.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* that we need to emulate as well.
*/

#include "qemu/osdep.h"
#include "hw/hw.h"
#include "elf.h"
#include "hw/loader.h"
Expand Down
2 changes: 1 addition & 1 deletion hw/alpha/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* ??? Sparse memory access not implemented.
*/

#include "config.h"
#include "qemu/osdep.h"
#include "alpha_sys.h"
#include "qemu/log.h"
#include "sysemu/sysemu.h"
Expand Down
1 change: 1 addition & 0 deletions hw/alpha/typhoon.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* This work is licensed under the GNU GPL license version 2 or later.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/devices.h"
Expand Down
1 change: 1 addition & 0 deletions target-alpha/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* <http://www.gnu.org/licenses/lgpl-2.1.html>
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "qemu-common.h"
#include "migration/vmstate.h"
Expand Down
1 change: 1 addition & 0 deletions target-alpha/fpu_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "fpu/softfloat.h"
Expand Down
2 changes: 1 addition & 1 deletion target-alpha/gdbstub.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "exec/gdbstub.h"

Expand Down
4 changes: 1 addition & 3 deletions target-alpha/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include "qemu/osdep.h"

#include "cpu.h"
#include "fpu/softfloat.h"
Expand Down
1 change: 1 addition & 0 deletions target-alpha/int_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "qemu/host-utils.h"
Expand Down
1 change: 1 addition & 0 deletions target-alpha/machine.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/boards.h"

Expand Down
1 change: 1 addition & 0 deletions target-alpha/mem_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "exec/cpu_ldst.h"
Expand Down
1 change: 1 addition & 0 deletions target-alpha/sys_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "sysemu/sysemu.h"
Expand Down
1 change: 1 addition & 0 deletions target-alpha/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "disas/disas.h"
#include "qemu/host-utils.h"
Expand Down
1 change: 1 addition & 0 deletions target-alpha/vax_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/helper-proto.h"
#include "fpu/softfloat.h"
Expand Down

0 comments on commit e2e5e11

Please sign in to comment.