From c9a6cefc7adc3f42f36fdeaa6ab90f174a645d0e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 12 Feb 2011 18:07:25 -0800 Subject: [PATCH] lwlib trivia. * lwlib/lwlib-utils.c (index, rindex): Don't undef (neither used in lwlib/, nor set in config.h). --- lwlib/ChangeLog | 5 +++++ lwlib/lwlib-utils.c | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 60defac0b18..997cefc4f95 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,3 +1,8 @@ +2011-02-13 Glenn Morris + + * lwlib-utils.c (index, rindex): Don't undef (neither used in lwlib/, + nor set in config.h). + 2011-02-11 Glenn Morris * Makefile.in (USE_X_TOOLKIT, RM, TOOLKIT_DEFINES): Remove. diff --git a/lwlib/lwlib-utils.c b/lwlib/lwlib-utils.c index 7c9a56d2aeb..a3e1cb3b432 100644 --- a/lwlib/lwlib-utils.c +++ b/lwlib/lwlib-utils.c @@ -24,13 +24,6 @@ Boston, MA 02110-1301, USA. */ #include #endif -/* Definitions of these in config.h can cause - declaration conflicts later on between declarations for index - and declarations for strchr. This file doesn't use - index and rindex, so cancel them. */ -#undef index -#undef rindex - #include #include -- 2.39.5