sim: callback: always include necessary headers
authorMike Frysinger <vapier@gentoo.org>
Sat, 24 Apr 2021 17:57:21 +0000 (13:57 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 14 May 2021 04:53:56 +0000 (00:53 -0400)
We use types from these headers, so always include them.

include/sim/ChangeLog
include/sim/callback.h

index f2aba1e15d8fa99c296b5efcb17719d0476ee3ad..6649f198617c1512ccb5b44cb76ac71dd5167eea 100644 (file)
@@ -1,3 +1,7 @@
+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.
index f021f4d6e4d08f55ecb2d5e276a3a31c85b15227..693614baa5e8e061ea25b38ce785fda647d1becb 100644 (file)
 #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"
 \f