aboutsummaryrefslogtreecommitdiff
path: root/sim/common/callback.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-08 20:23:37 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-09 03:52:30 -0500
commit936df7568a0e47547285a0dd57b81643264fef38 (patch)
treeeb6e56f3f05e89ae94cd1df26cbcba439a5245d6 /sim/common/callback.c
parent80f3f9eecf3aec5903a1a52a7963e9029ef9d15f (diff)
downloadgdb-936df7568a0e47547285a0dd57b81643264fef38.zip
gdb-936df7568a0e47547285a0dd57b81643264fef38.tar.gz
gdb-936df7568a0e47547285a0dd57b81643264fef38.tar.bz2
sim: drop common/cconfig.h in favor of a single config.h
The common subdir sets up a cconfig.h file to hold checks for the common code. In practice, most files still end up using config.h instead which just leads to confusion. Merge all the configure checks that went into cconfig.h into SIM_AC_COMMON so we can drop the cconfig.h file altogether. Now there is only a single config.h file like normal.
Diffstat (limited to 'sim/common/callback.c')
-rw-r--r--sim/common/callback.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/common/callback.c b/sim/common/callback.c
index b8c1168..f9489cc 100644
--- a/sim/common/callback.c
+++ b/sim/common/callback.c
@@ -21,9 +21,8 @@
level. */
#ifdef HAVE_CONFIG_H
-#include "cconfig.h"
-#endif
#include "config.h"
+#endif
#include "ansidecl.h"
#include <stdarg.h>
#include <stdio.h>