Skip to content

Commit

Permalink
disas: 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: 1454089805-5470-7-git-send-email-peter.maydell@linaro.org
  • Loading branch information
pm215 committed Feb 4, 2016
1 parent aafd758 commit 48d4ab2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions disas/hppa.c
Expand Up @@ -18,6 +18,7 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>. */

#include "qemu/osdep.h"
#include "disas/bfd.h"

/* HP PA-RISC SOM object file format: definitions internal to BFD.
Expand Down
2 changes: 1 addition & 1 deletion disas/i386.c
Expand Up @@ -31,7 +31,7 @@
and the small letter tells about the operand size. Refer to
the Intel manual for details. */

#include <stdlib.h>
#include "qemu/osdep.h"
#include "disas/bfd.h"
/* include/opcode/i386.h r1.78 */

Expand Down
3 changes: 1 addition & 2 deletions disas/ia64.c
Expand Up @@ -18,7 +18,7 @@
along with this file; see the file COPYING. If not, see
<http://www.gnu.org/licenses/>. */

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

#include "disas/bfd.h"

Expand All @@ -27,7 +27,6 @@
Free Software Foundation, Inc.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com> */

#include <sys/types.h>

typedef uint64_t ia64_insn;

Expand Down
3 changes: 1 addition & 2 deletions disas/m68k.c
@@ -1,9 +1,8 @@
/* This file is composed of several different files from the upstream
sourceware.org CVS. Original file boundaries marked with **** */

#include <string.h>
#include "qemu/osdep.h"
#include <math.h>
#include <stdio.h>

#include "disas/bfd.h"

Expand Down
1 change: 1 addition & 0 deletions disas/s390.c
Expand Up @@ -20,6 +20,7 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "disas/bfd.h"

Expand Down
2 changes: 1 addition & 1 deletion disas/sparc.c
Expand Up @@ -26,7 +26,7 @@
along with GAS or GDB; see the file COPYING. If not,
see <http://www.gnu.org/licenses/>. */

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

/* The SPARC opcode table (and other related data) is defined in
Expand Down
1 change: 1 addition & 0 deletions disas/tci.c
Expand Up @@ -17,6 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "disas/bfd.h"
#include "tcg/tcg.h"
Expand Down

0 comments on commit 48d4ab2

Please sign in to comment.