sh4: 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-28-git-send-email-peter.maydell@linaro.org
This commit is contained in:
		
							parent
							
								
									90191d07a6
								
							
						
					
					
						commit
						9d4c9946ee
					
				| @ -15,7 +15,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 <stdio.h> | ||||
| #include "qemu/osdep.h" | ||||
| #include "disas/bfd.h" | ||||
| 
 | ||||
| #define DEFINE_TABLE | ||||
|  | ||||
| @ -23,6 +23,7 @@ | ||||
|  * THE SOFTWARE. | ||||
|  */ | ||||
| 
 | ||||
| #include "qemu/osdep.h" | ||||
| #include "hw/sysbus.h" | ||||
| #include "hw/hw.h" | ||||
| #include "hw/sh4/sh.h" | ||||
|  | ||||
| @ -22,7 +22,7 @@ | ||||
|  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||||
|  * THE SOFTWARE. | ||||
|  */ | ||||
| #include <stdio.h> | ||||
| #include "qemu/osdep.h" | ||||
| #include "hw/hw.h" | ||||
| #include "hw/sh4/sh.h" | ||||
| #include "sysemu/sysemu.h" | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #include "qemu/osdep.h" | ||||
| #include "hw/hw.h" | ||||
| #include "hw/sh4/sh.h" | ||||
| #include "sh7750_regs.h" | ||||
|  | ||||
| @ -21,6 +21,7 @@ | ||||
|  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||||
|  * THE SOFTWARE. | ||||
|  */ | ||||
| #include "qemu/osdep.h" | ||||
| #include "hw/sysbus.h" | ||||
| #include "hw/sh4/sh.h" | ||||
| #include "hw/pci/pci.h" | ||||
|  | ||||
| @ -27,6 +27,7 @@ | ||||
| 
 | ||||
|    More information in target-sh4/README.sh4 | ||||
| */ | ||||
| #include "qemu/osdep.h" | ||||
| #include "hw/hw.h" | ||||
| #include "hw/sh4/sh.h" | ||||
| #include "sysemu/sysemu.h" | ||||
|  | ||||
| @ -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" | ||||
|  | ||||
| @ -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" | ||||
| 
 | ||||
|  | ||||
| @ -16,11 +16,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 <stdarg.h> | ||||
| #include <stdlib.h> | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
| #include <inttypes.h> | ||||
| #include "qemu/osdep.h" | ||||
| 
 | ||||
| #include "cpu.h" | ||||
| 
 | ||||
|  | ||||
| @ -21,6 +21,7 @@ | ||||
|  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||||
|  * THE SOFTWARE. | ||||
|  */ | ||||
| #include "qemu/osdep.h" | ||||
| #include "cpu.h" | ||||
| #include "monitor/monitor.h" | ||||
| #include "monitor/hmp-target.h" | ||||
|  | ||||
| @ -16,7 +16,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 <stdlib.h> | ||||
| #include "qemu/osdep.h" | ||||
| #include "cpu.h" | ||||
| #include "exec/helper-proto.h" | ||||
| #include "exec/cpu_ldst.h" | ||||
|  | ||||
| @ -19,6 +19,7 @@ | ||||
| 
 | ||||
| #define DEBUG_DISAS | ||||
| 
 | ||||
| #include "qemu/osdep.h" | ||||
| #include "cpu.h" | ||||
| #include "disas/disas.h" | ||||
| #include "tcg-op.h" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Peter Maydell
						Peter Maydell