diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-05-09 00:44:42 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-07-10 00:06:23 +0200 |
commit | abd5708e5c57c2c243505739280e5798b4b73333 (patch) | |
tree | d54be5666e5e9e806a0e1d11ecdbf8eb246bd502 /lib/expat/xmlrole.c | |
parent | Updated zlib (diff) | |
download | cuberite-abd5708e5c57c2c243505739280e5798b4b73333.tar cuberite-abd5708e5c57c2c243505739280e5798b4b73333.tar.gz cuberite-abd5708e5c57c2c243505739280e5798b4b73333.tar.bz2 cuberite-abd5708e5c57c2c243505739280e5798b4b73333.tar.lz cuberite-abd5708e5c57c2c243505739280e5798b4b73333.tar.xz cuberite-abd5708e5c57c2c243505739280e5798b4b73333.tar.zst cuberite-abd5708e5c57c2c243505739280e5798b4b73333.zip |
Diffstat (limited to '')
-rw-r--r-- | lib/expat/xmlrole.c | 148 |
1 files changed, 1 insertions, 147 deletions
diff --git a/lib/expat/xmlrole.c b/lib/expat/xmlrole.c index 55cba6429..44772e21d 100644 --- a/lib/expat/xmlrole.c +++ b/lib/expat/xmlrole.c @@ -8,7 +8,7 @@ #include "winconfig.h" #elif defined(MACOS_CLASSIC) #include "macconfig.h" -#elif defined(__amigaos4__) +#elif defined(__amigaos__) #include "amigaconfig.h" #elif defined(__WATCOMC__) #include "watcomconfig.h" @@ -199,10 +199,6 @@ prolog2(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_NONE; @@ -224,10 +220,6 @@ doctype0(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_DOCTYPE_NONE; @@ -276,10 +268,6 @@ doctype2(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_DOCTYPE_NONE; @@ -297,10 +285,6 @@ doctype3(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_DOCTYPE_NONE; @@ -318,10 +302,6 @@ doctype4(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_DOCTYPE_NONE; @@ -342,10 +322,6 @@ doctype5(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_DOCTYPE_NONE; @@ -465,10 +441,6 @@ entity0(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ENTITY_NONE; @@ -489,10 +461,6 @@ entity1(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ENTITY_NONE; @@ -538,10 +506,6 @@ entity3(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ENTITY_NONE; @@ -559,10 +523,6 @@ entity4(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ENTITY_NONE; @@ -603,10 +563,6 @@ entity6(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ENTITY_NONE; @@ -653,10 +609,6 @@ entity8(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ENTITY_NONE; @@ -674,10 +626,6 @@ entity9(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ENTITY_NONE; @@ -695,10 +643,6 @@ entity10(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ENTITY_NONE; @@ -716,10 +660,6 @@ notation0(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_NOTATION_NONE; @@ -761,10 +701,6 @@ notation2(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_NOTATION_NONE; @@ -782,10 +718,6 @@ notation3(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_NOTATION_NONE; @@ -804,10 +736,6 @@ notation4(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_NOTATION_NONE; @@ -829,10 +757,6 @@ attlist0(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ATTLIST_NONE; @@ -851,10 +775,6 @@ attlist1(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ATTLIST_NONE; @@ -917,10 +837,6 @@ attlist3(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ATTLIST_NONE; @@ -940,10 +856,6 @@ attlist4(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ATTLIST_NONE; @@ -964,10 +876,6 @@ attlist5(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ATTLIST_NONE; @@ -985,10 +893,6 @@ attlist6(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ATTLIST_NONE; @@ -1006,10 +910,6 @@ attlist7(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ATTLIST_NONE; @@ -1071,10 +971,6 @@ attlist9(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ATTLIST_NONE; @@ -1092,10 +988,6 @@ element0(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ELEMENT_NONE; @@ -1184,10 +1076,6 @@ element3(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ELEMENT_NONE; @@ -1213,10 +1101,6 @@ element4(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ELEMENT_NONE; @@ -1235,10 +1119,6 @@ element5(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ELEMENT_NONE; @@ -1260,10 +1140,6 @@ element6(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ELEMENT_NONE; @@ -1294,10 +1170,6 @@ element7(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_ELEMENT_NONE; @@ -1372,10 +1244,6 @@ condSect1(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_NONE; @@ -1394,10 +1262,6 @@ condSect2(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return XML_ROLE_NONE; @@ -1417,10 +1281,6 @@ declClose(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)ptr; - (void)end; - (void)enc; - switch (tok) { case XML_TOK_PROLOG_S: return state->role_none; @@ -1438,12 +1298,6 @@ error(PROLOG_STATE *state, const char *end, const ENCODING *enc) { - (void)state; - (void)tok; - (void)ptr; - (void)end; - (void)enc; - return XML_ROLE_NONE; } |