diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/libxml/xmlmodule.c | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/libxml/xmlmodule.c')
-rw-r--r-- | contrib/libs/libxml/xmlmodule.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/libs/libxml/xmlmodule.c b/contrib/libs/libxml/xmlmodule.c index 1867a5e160..d02d34777e 100644 --- a/contrib/libs/libxml/xmlmodule.c +++ b/contrib/libs/libxml/xmlmodule.c @@ -8,11 +8,11 @@ * http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html */ -/* In order RTLD_GLOBAL and RTLD_NOW to be defined on zOS */ -#if defined(__MVS__) -#define _UNIX03_SOURCE -#endif - +/* In order RTLD_GLOBAL and RTLD_NOW to be defined on zOS */ +#if defined(__MVS__) +#define _UNIX03_SOURCE +#endif + #define IN_LIBXML #include "libxml.h" @@ -67,7 +67,7 @@ xmlModuleErrMemory(xmlModulePtr module, const char *extra) * * Opens a module/shared library given its name or path * NOTE: that due to portability issues, behaviour can only be - * guaranteed with @name using ASCII. We cannot guarantee that + * guaranteed with @name using ASCII. We cannot guarantee that * an UTF-8 string would work, which is why name is a const char * * and not a const xmlChar * . * TODO: options are not yet implemented. @@ -109,7 +109,7 @@ xmlModuleOpen(const char *name, int options ATTRIBUTE_UNUSED) * * Lookup for a symbol address in the given module * NOTE: that due to portability issues, behaviour can only be - * guaranteed with @name using ASCII. We cannot guarantee that + * guaranteed with @name using ASCII. We cannot guarantee that * an UTF-8 string would work, which is why name is a const char * * and not a const xmlChar * . * @@ -301,9 +301,9 @@ xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) #endif /* HAVE_SHLLOAD */ #endif /* ! HAVE_DLOPEN */ -#if defined(_WIN32) && !defined(__CYGWIN__) +#if defined(_WIN32) && !defined(__CYGWIN__) -#define WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN #include <windows.h> /* @@ -340,7 +340,7 @@ xmlModulePlatformClose(void *handle) static int xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) { -XML_IGNORE_PEDANTIC_WARNINGS +XML_IGNORE_PEDANTIC_WARNINGS #ifdef _WIN32_WCE /* * GetProcAddressA seems only available on WinCE @@ -350,7 +350,7 @@ XML_IGNORE_PEDANTIC_WARNINGS *symbol = GetProcAddress(handle, name); #endif return (NULL == *symbol) ? -1 : 0; -XML_POP_WARNINGS +XML_POP_WARNINGS } #endif /* _WIN32 */ |