]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/sim-basics.h
sim: common: standardize multiple include defines
[thirdparty/binutils-gdb.git] / sim / common / sim-basics.h
index 4383c15514ca997d13486392fe7df0de33296976..1d9c99cc036dfbd41684d3a03655eac48fe1ef8d 100644 (file)
@@ -1,6 +1,6 @@
 /* The common simulator framework for GDB, the GNU Debugger.
 
-   Copyright 2002, 2004, 2007 Free Software Foundation, Inc.
+   Copyright 2002-2015 Free Software Foundation, Inc.
 
    Contributed by Andrew Cagney and Red Hat.
 
@@ -20,8 +20,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef _SIM_BASICS_H_
-#define _SIM_BASICS_H_
+#ifndef SIM_BASICS_H
+#define SIM_BASICS_H
 
 
 /* Basic configuration */
@@ -48,7 +48,7 @@ extern int asprintf (char **result, const char *format, ...);
 #endif
 
 
-       
+
 /* Some versions of GCC include an attribute operator, define it */
 
 #if !defined (__attribute__)
@@ -126,11 +126,6 @@ typedef enum {
 \f
 /* Basic definitions - ordered so that nothing calls what comes after it.  */
 
-/* FIXME: conditionalizing tconfig.h on HAVE_CONFIG_H seems wrong.  */
-#ifdef HAVE_CONFIG_H
-#include "tconfig.h"
-#endif
-
 #include "ansidecl.h"
 #include "gdb/callback.h"
 #include "gdb/remote-sim.h"
@@ -151,4 +146,4 @@ typedef enum {
    weight objects, such as core and events, are defined in the more
    serious sim-base.h header. */
 
-#endif /* _SIM_BASICS_H_ */
+#endif /* SIM_BASICS_H */