[1/6] gdb: callback: always include necessary headers

Message ID 20210424184144.23736-1-vapier@gentoo.org
State New
Headers show
Series
  • [1/6] gdb: callback: always include necessary headers
Related show

Commit Message

Magne Hov via Gdb-patches April 24, 2021, 6:41 p.m.
We use types from these headers, so always include them.
---
 include/gdb/callback.h | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.30.2

Patch

diff --git a/include/gdb/callback.h b/include/gdb/callback.h
index a2e02631628e..af10486e43be 100644
--- a/include/gdb/callback.h
+++ b/include/gdb/callback.h
@@ -45,12 +45,8 @@ 
 #ifndef CALLBACK_H
 #define 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"