]> code.delx.au - gnu-emacs/commitdiff
lwlib trivia.
authorGlenn Morris <rgm@gnu.org>
Sun, 13 Feb 2011 02:07:25 +0000 (18:07 -0800)
committerGlenn Morris <rgm@gnu.org>
Sun, 13 Feb 2011 02:07:25 +0000 (18:07 -0800)
* lwlib/lwlib-utils.c (index, rindex): Don't undef (neither used in lwlib/,
nor set in config.h).

lwlib/ChangeLog
lwlib/lwlib-utils.c

index 60defac0b18735285ae1fee82d898751ac13f071..997cefc4f9546d320d58f2d43c778cee280a9ad4 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-13  Glenn Morris  <rgm@gnu.org>
+
+       * lwlib-utils.c (index, rindex): Don't undef (neither used in lwlib/,
+       nor set in config.h).
+
 2011-02-11  Glenn Morris  <rgm@gnu.org>
 
        * Makefile.in (USE_X_TOOLKIT, RM, TOOLKIT_DEFINES): Remove.
index 7c9a56d2aeb9ada8aa8671206c67cb9eab4a0002..a3e1cb3b43238b8c14d384bed2654925c54c6e7b 100644 (file)
@@ -24,13 +24,6 @@ Boston, MA 02110-1301, USA.  */
 #include <config.h>
 #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 <setjmp.h>
 #include <lisp.h>