Avoid implicit include deps with this to help untangle sim headers
so we can get rid of arch-specific sim-main.h.
20 files changed:
#include "defs.h"
#include <errno.h>
+#include <stdarg.h>
#include <stdlib.h>
#include "bfd.h"
/* This must come before any other includes. */
#include "defs.h"
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#ifndef HW_DEVICE_H
#define HW_DEVICE_H
+#include <stdarg.h>
/* Introduction:
/* This must come before any other includes. */
#include "defs.h"
+#include <stdarg.h>
#include <string.h>
#include "hw-main.h"
#ifndef HW_EVENTS_H
#define HW_EVENTS_H
+#include <stdarg.h>
+
/* Event manager customized for hardware models.
This interface is discussed further in sim-events.h. */
#include "defs.h"
#include <ctype.h>
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#ifndef HW_TREE
#define HW_TREE
+#include <stdarg.h>
struct hw *hw_tree_create
(SIM_DESC sd,
/* This must come before any other includes. */
#include "defs.h"
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
/* This must come before any other includes. */
#include "defs.h"
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#ifndef SIM_ENGINE_H
#define SIM_ENGINE_H
+#include <stdarg.h>
typedef struct _sim_engine sim_engine;
struct _sim_engine
#include "defs.h"
#include <signal.h> /* For SIGPROCMASK et al. */
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#ifndef SIM_EVENTS_H
#define SIM_EVENTS_H
+#include <stdarg.h>
/* Notes:
#include <ctype.h>
#include <errno.h>
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#ifndef SIM_HW_H
#define SIM_HW_H
+#include <stdarg.h>
/* Parse a hardware definition */
#if HAVE_FCNTL_H
#include <fcntl.h>
#endif
+#include <stdarg.h>
#include <stdlib.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#ifndef SIM_IO_H
#define SIM_IO_H
+#include <stdarg.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "defs.h"
#include <ctype.h>
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
/* This must come before any other includes. */
#include "defs.h"
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#ifndef SIM_TRACE_H
#define SIM_TRACE_H
+#include <stdarg.h>
+
#include "dis-asm.h"
/* Standard traceable entities. */
/* This must come before any other includes. */
#include "defs.h"
+#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>