aboutsummaryrefslogtreecommitdiff
path: root/include/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-04-24 13:57:21 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-14 00:53:56 -0400
commit2e4885ee8fad4490f97624d6a70785b2f9cba849 (patch)
tree28c1c47998131191eb049d7f4ca52f97e90f3fd0 /include/sim
parentdf68e12b3b3eb91e54d6d888b73049562566e0b3 (diff)
downloadgdb-2e4885ee8fad4490f97624d6a70785b2f9cba849.zip
gdb-2e4885ee8fad4490f97624d6a70785b2f9cba849.tar.gz
gdb-2e4885ee8fad4490f97624d6a70785b2f9cba849.tar.bz2
sim: callback: always include necessary headers
We use types from these headers, so always include them.
Diffstat (limited to 'include/sim')
-rw-r--r--include/sim/ChangeLog4
-rw-r--r--include/sim/callback.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/sim/ChangeLog b/include/sim/ChangeLog
index f2aba1e..6649f19 100644
--- a/include/sim/ChangeLog
+++ b/include/sim/ChangeLog
@@ -1,4 +1,8 @@
2021-05-14 Mike Frysinger <vapier@gentoo.org>
+ * callback.h: Delete va_start define check.
+
+2021-05-14 Mike Frysinger <vapier@gentoo.org>
+
* callback.h: Moved from ../gdb/callback.h.
* sim.h: Moved from ../gdb/remote-sim.h.
diff --git a/include/sim/callback.h b/include/sim/callback.h
index f021f4d..693614b 100644
--- a/include/sim/callback.h
+++ b/include/sim/callback.h
@@ -45,12 +45,8 @@
#ifndef SIM_CALLBACK_H
#define SIM_CALLBACK_H
-/* ??? The reason why we check for va_start here should be documented. */
-
-#ifndef va_start
#include <ansidecl.h>
#include <stdarg.h>
-#endif
/* Needed for enum bfd_endian. */
#include "bfd.h"