From 2e4885ee8fad4490f97624d6a70785b2f9cba849 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 24 Apr 2021 13:57:21 -0400 Subject: [PATCH] sim: callback: always include necessary headers We use types from these headers, so always include them. --- include/sim/ChangeLog | 4 ++++ include/sim/callback.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/sim/ChangeLog b/include/sim/ChangeLog index f2aba1e15d8..6649f198617 100644 --- a/include/sim/ChangeLog +++ b/include/sim/ChangeLog @@ -1,3 +1,7 @@ +2021-05-14 Mike Frysinger + + * callback.h: Delete va_start define check. + 2021-05-14 Mike Frysinger * callback.h: Moved from ../gdb/callback.h. diff --git a/include/sim/callback.h b/include/sim/callback.h index f021f4d6e4d..693614baa5e 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 #include -#endif /* Needed for enum bfd_endian. */ #include "bfd.h" -- 2.30.2