aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2019-01-16 17:01:42 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2019-01-16 17:05:28 -0500
commitb84bb29de922b727ae8c37e88c670b299a3c52d8 (patch)
treed36fbe241b7de50e63ee3e27a950b10e271abc44 /sim
parenta4bf3d0720b1093dd148b7a728f92ce690a8a034 (diff)
downloadfsf-binutils-gdb-b84bb29de922b727ae8c37e88c670b299a3c52d8.zip
fsf-binutils-gdb-b84bb29de922b727ae8c37e88c670b299a3c52d8.tar.gz
fsf-binutils-gdb-b84bb29de922b727ae8c37e88c670b299a3c52d8.tar.bz2
Actually remove definitions of DEFINE_NON_INLINE_P and DEFINE_INLINE_P
I applied the patch "Do not expand macros to 'defined'" by hand because I couldn't apply it with git-am, and of course forgot to remove the macro definitions. This patch fixes it, and also makes the ChangeLog entry a bit cleaner.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog2
-rw-r--r--sim/common/sim-arange.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 1fddb4e..c05b535 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,6 +1,6 @@
2019-01-16 Pavel I. Kryukov <kryukov@frtk.ru>
- * sim-arange.c: eliminate DEFINE_NON_INLINE_P
+ * sim-arange.c (DEFINE_INLINE_P, DEFINE_NON_INLINE_P): Remove.
2019-01-15 Simon Marchi <simon.marchi@ericsson.com>
diff --git a/sim/common/sim-arange.c b/sim/common/sim-arange.c
index 0f0c8a1..b3488ab 100644
--- a/sim/common/sim-arange.c
+++ b/sim/common/sim-arange.c
@@ -32,9 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <string.h>
#endif
-#define DEFINE_INLINE_P (! defined (SIM_ARANGE_C_INCLUDED))
-#define DEFINE_NON_INLINE_P defined (SIM_ARANGE_C_INCLUDED)
-
#ifdef SIM_ARANGE_C_INCLUDED
/* Insert a range. */