mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
Patched warning issued on SGI by Stephane.Conversy@lri.fr, Daniel.
This commit is contained in:
9
valid.c
9
valid.c
@ -43,7 +43,7 @@ xmlAttributePtr xmlScanAttributeDecl(xmlDtdPtr dtd, const CHAR *elem);
|
||||
* Returns NULL if not, othervise the new element content structure
|
||||
*/
|
||||
xmlElementContentPtr
|
||||
xmlNewElementContent(CHAR *name, int type) {
|
||||
xmlNewElementContent(CHAR *name, xmlElementContentType type) {
|
||||
xmlElementContentPtr ret;
|
||||
|
||||
switch(type) {
|
||||
@ -296,7 +296,7 @@ xmlCreateElementTable(void) {
|
||||
*/
|
||||
xmlElementPtr
|
||||
xmlAddElementDecl(xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const CHAR *name,
|
||||
int type, xmlElementContentPtr content) {
|
||||
xmlElementContentType type, xmlElementContentPtr content) {
|
||||
xmlElementPtr ret, cur;
|
||||
xmlElementTablePtr table;
|
||||
int i;
|
||||
@ -741,8 +741,9 @@ xmlScanIDAttributeDecl(xmlValidCtxtPtr ctxt, xmlElementPtr elem) {
|
||||
*/
|
||||
xmlAttributePtr
|
||||
xmlAddAttributeDecl(xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const CHAR *elem,
|
||||
const CHAR *name, int type, int def,
|
||||
const CHAR *defaultValue, xmlEnumerationPtr tree) {
|
||||
const CHAR *name, xmlAttributeType type,
|
||||
xmlAttributeDefault def, const CHAR *defaultValue,
|
||||
xmlEnumerationPtr tree) {
|
||||
xmlAttributePtr ret, cur;
|
||||
xmlAttributeTablePtr table;
|
||||
xmlElementPtr elemDef;
|
||||
|
Reference in New Issue
Block a user