[Expat-checkins] CVS: expat/lib xmlparse.c,1.17,1.18

Fred L. Drake fdrake@users.sourceforge.net
Wed, 25 Jul 2001 10:20:47 -0700


Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv534

Modified Files:
	xmlparse.c 
Log Message:
Removed useless RCSId static from the code.

Added #include to pick up the memmove() prototype.

Added parentheses in some conditions to suppress compiler warnings.


Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** xmlparse.c	2001/07/25 14:40:06	1.17
--- xmlparse.c	2001/07/25 17:20:45	1.18
***************
*** 4,10 ****
  */
  
- static char RCSId[]
-   = "$Header$";
- 
  #ifdef COMPILED_FROM_DSP
  #  include "winconfig.h"
--- 4,7 ----
***************
*** 27,30 ****
--- 24,28 ----
  
  #include <stddef.h>
+ #include <string.h>
  
  #ifdef XML_UNICODE
***************
*** 2755,2759 ****
        if (attlistDeclHandler && declAttributeType) {
  	if (*declAttributeType == '('
! 	    || *declAttributeType == 'N' && declAttributeType[1] == 'O') {
  	  /* Enumerated or Notation type */
  	  if (! poolAppendChar(&tempPool, ')')
--- 2753,2757 ----
        if (attlistDeclHandler && declAttributeType) {
  	if (*declAttributeType == '('
! 	    || (*declAttributeType == 'N' && declAttributeType[1] == 'O')) {
  	  /* Enumerated or Notation type */
  	  if (! poolAppendChar(&tempPool, ')')
***************
*** 2789,2793 ****
  	if (attlistDeclHandler && declAttributeType) {
  	  if (*declAttributeType == '('
! 	      || *declAttributeType == 'N' && declAttributeType[1] == 'O') {
  	    /* Enumerated or Notation type */
  	    if (! poolAppendChar(&tempPool, ')')
--- 2787,2791 ----
  	if (attlistDeclHandler && declAttributeType) {
  	  if (*declAttributeType == '('
! 	      || (*declAttributeType == 'N' && declAttributeType[1] == 'O')) {
  	    /* Enumerated or Notation type */
  	    if (! poolAppendChar(&tempPool, ')')