From 276e2517e047d5c48d4cc4ee07eaed3282f9dadf Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Fri, 19 Apr 2002 16:19:33 +0000 Subject: [PATCH] Wrap some long lines. --- expat/xmlwf/xmlwf.c | 47 ++++++++++++++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 15 deletions(-) diff --git a/expat/xmlwf/xmlwf.c b/expat/xmlwf/xmlwf.c index 27cb12cb..1a60b139 100755 --- a/expat/xmlwf/xmlwf.c +++ b/expat/xmlwf/xmlwf.c @@ -111,7 +111,8 @@ static int attcmp(const void *att1, const void *att2) return tcscmp(*(const XML_Char **)att1, *(const XML_Char **)att2); } -static void startElement(void *userData, const XML_Char *name, const XML_Char **atts) +static void startElement(void *userData, const XML_Char *name, + const XML_Char **atts) { int nAtts; const XML_Char **p; @@ -154,7 +155,8 @@ static int nsattcmp(const void *p1, const void *p2) return tcscmp(att1, att2); } -static void startElementNS(void *userData, const XML_Char *name, const XML_Char **atts) +static void startElementNS(void *userData, const XML_Char *name, + const XML_Char **atts) { int nAtts; int nsi; @@ -220,7 +222,8 @@ static void endElementNS(void *userData, const XML_Char *name) #ifndef W3C14N -static void processingInstruction(void *userData, const XML_Char *target, const XML_Char *data) +static void processingInstruction(void *userData, const XML_Char *target, + const XML_Char *data) { FILE *fp = userData; puttc(T('<'), fp); @@ -239,7 +242,8 @@ static void defaultCharacterData(XML_Parser parser, const XML_Char *s, int len) XML_DefaultCurrent(parser); } -static void defaultStartElement(XML_Parser parser, const XML_Char *name, const XML_Char **atts) +static void defaultStartElement(XML_Parser parser, const XML_Char *name, + const XML_Char **atts) { XML_DefaultCurrent(parser); } @@ -249,7 +253,9 @@ static void defaultEndElement(XML_Parser parser, const XML_Char *name) XML_DefaultCurrent(parser); } -static void defaultProcessingInstruction(XML_Parser parser, const XML_Char *target, const XML_Char *data) +static void defaultProcessingInstruction(XML_Parser parser, + const XML_Char *target, + const XML_Char *data) { XML_DefaultCurrent(parser); } @@ -258,7 +264,8 @@ static void nopCharacterData(XML_Parser parser, const XML_Char *s, int len) { } -static void nopStartElement(XML_Parser parser, const XML_Char *name, const XML_Char **atts) +static void nopStartElement(XML_Parser parser, const XML_Char *name, + const XML_Char **atts) { } @@ -266,7 +273,8 @@ static void nopEndElement(XML_Parser parser, const XML_Char *name) { } -static void nopProcessingInstruction(XML_Parser parser, const XML_Char *target, const XML_Char *data) +static void nopProcessingInstruction(XML_Parser parser, const XML_Char *target, + const XML_Char *data) { } @@ -304,7 +312,8 @@ void metaEndDocument(XML_Parser parser) } static -void metaStartElement(XML_Parser parser, const XML_Char *name, const XML_Char **atts) +void metaStartElement(XML_Parser parser, const XML_Char *name, + const XML_Char **atts) { FILE *fp = XML_GetUserData(parser); const XML_Char **specifiedAttsEnd @@ -346,7 +355,8 @@ void metaEndElement(XML_Parser parser, const XML_Char *name) } static -void metaProcessingInstruction(XML_Parser parser, const XML_Char *target, const XML_Char *data) +void metaProcessingInstruction(XML_Parser parser, const XML_Char *target, + const XML_Char *data) { FILE *fp = XML_GetUserData(parser); ftprintf(fp, T("