diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2002-02-10 13:20:39 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2002-02-10 13:20:39 +0000 |
commit | 0ba59239d92a0ea82d6515f15cc0723a61ef7400 (patch) | |
tree | 3a2faf3551cdc7e07d35143d8dff4cdad9e19a33 /build_glob.py | |
parent | c5f05ada4014d6b22266c0ba6f8b72e0979c2383 (diff) | |
download | libxml2-0ba59239d92a0ea82d6515f15cc0723a61ef7400.tar.gz |
Tentatively fixed #69655 , make compiling with -Wredundant-decls clean.
* HTMLtree.c Makefile.am build_glob.py configure.in debugXML.c
globals.c parser.c threads.c tree.c valid.c xmlmemory.c
xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h
include/libxml/parserInternals.h include/libxml/tree.h
include/libxml/xmlmemory.h include/libxml/xpathInternals.h:
Tentatively fixed #69655 , make compiling with -Wredundant-decls
clean.
* python/libxml.c: fixed a warning.
Daniel
Diffstat (limited to 'build_glob.py')
-rwxr-xr-x | build_glob.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_glob.py b/build_glob.py index 33856cd1..dc42c245 100755 --- a/build_glob.py +++ b/build_glob.py @@ -66,7 +66,6 @@ if __name__ == "__main__": fields = string.split(line, ",") # Update the header file writeline(global_functions_hdr) - writeline(global_functions_hdr, "#ifdef LIBXML_THREAD_ENABLED") global_functions_hdr.write("extern "+fields[0]+" *") if len(fields) == 3: global_functions_hdr.write("(*") @@ -74,6 +73,7 @@ if __name__ == "__main__": if len(fields) == 3: global_functions_hdr.write(")"+fields[2]) writeline(global_functions_hdr,";") + writeline(global_functions_hdr, "#ifdef LIBXML_THREAD_ENABLED") writeline(global_functions_hdr,"#define "+fields[1]+" \\") writeline(global_functions_hdr,"(*(__"+fields[1]+"()))") writeline(global_functions_hdr,"#else") @@ -84,7 +84,7 @@ if __name__ == "__main__": writeline(global_functions_hdr,"#endif") # Update the implementation file writeline(global_functions_impl) - writeline(global_functions_impl, "extern "+fields[0]+" "+fields[1]+";") +# writeline(global_functions_impl, "extern "+fields[0]+" "+fields[1]+";") writeline(global_functions_impl, "#undef\t"+fields[1]) writeline(global_functions_impl, fields[0]+" *") if len(fields) == 3: |