moxie: Clean up includes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 26 Jan 2016 18:17:25 +0000 (18:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2016 15:07:25 +0000 (15:07 +0000)
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-33-git-send-email-peter.maydell@linaro.org

disas/moxie.c
hw/moxie/moxiesim.c
target-moxie/cpu.c
target-moxie/helper.c
target-moxie/machine.c
target-moxie/mmu.c
target-moxie/translate.c

index 4c5f18047d3dd4b591d0adb12da2483c22c9977c..70b49ed74bc5c4a2fe9fb840662f78cc51a4a38e 100644 (file)
@@ -14,7 +14,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"
 #define STATIC_TABLE
 #define DEFINE_TABLE
 
index ada3d588299eddb6dc46a0b628dbb55112541b73..9191ae9603b5a879c585de6e01f99aab0a1128dc 100644 (file)
@@ -24,6 +24,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/hw.h"
 #include "hw/i386/pc.h"
index 0c60c65d317924a2a05859145b796c99108f4013..b33c2b3741a8c133eb2f6cf2065b0c37bec03f95 100644 (file)
@@ -17,6 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "cpu.h"
 #include "qemu-common.h"
 #include "migration/vmstate.h"
index f91ac28d34a6ab5e6851f2fc964adafd693336df..d51e9b9cc4d63bce3b0ee031758d1c92514d179e 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <stdio.h>
-#include <string.h>
+#include "qemu/osdep.h"
 
-#include "config.h"
 #include "cpu.h"
 #include "mmu.h"
 #include "exec/exec-all.h"
index b9316f0ec377df30c1f0df34867d9a6647b5e4c3..912b79139a5a1adedf980f6c74a961aff36d5f6c 100644 (file)
@@ -1,3 +1,4 @@
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/boards.h"
 #include "machine.h"
index 5217eedacdaa6b5cd29bdb830c67407dc7d4016d..9203330b3b0f28010dfe8f8bd48094cc054e54e3 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
+#include "qemu/osdep.h"
 
-#include "config.h"
 #include "cpu.h"
 #include "mmu.h"
 #include "exec/exec-all.h"
index 6dedcb7a214dd6df248db580068ac807f6c02ab7..229ce3b64dae9561d564ba381f08f58fe49e973e 100644 (file)
  *    http://moxielogic.org/wiki
  */
 
-#include <stdarg.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <inttypes.h>
+#include "qemu/osdep.h"
 
 #include "cpu.h"
 #include "exec/exec-all.h"