From: Glenn Morris Date: Sun, 13 Feb 2011 02:07:25 +0000 (-0800) Subject: lwlib trivia. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~904 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c9a6cefc7adc3f42f36fdeaa6ab90f174a645d0e;p=emacs.git lwlib trivia. * lwlib/lwlib-utils.c (index, rindex): Don't undef (neither used in lwlib/, nor set in config.h). --- 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