xmlparse.c: Address warning about unused functions (#161)
This commit is contained in:
parent
535047b10c
commit
a80b209884
@ -30,6 +30,7 @@ Release 2.2.5 ???????????????????
|
||||
#6 Resolve superfluous internal malloc/realloc switch
|
||||
#153 #155 Improve docbook2x-man detection
|
||||
#160 Undefine NDEBUG in the test suite (rather than rejecting it)
|
||||
#161 Address compiler warnings
|
||||
|
||||
Special thanks to:
|
||||
Benbuck Nason
|
||||
|
@ -673,6 +673,9 @@ static const XML_Char implicitContext[] = {
|
||||
};
|
||||
|
||||
|
||||
/* To avoid warnings about unused functions: */
|
||||
#if ! defined(HAVE_ARC4RANDOM_BUF) && ! defined(HAVE_ARC4RANDOM)
|
||||
|
||||
#if defined(HAVE_GETRANDOM) || defined(HAVE_SYSCALL_GETRANDOM)
|
||||
|
||||
/* Obtain entropy on Linux 3.17+ */
|
||||
@ -738,6 +741,8 @@ writeRandomBytes_dev_urandom(void * target, size_t count) {
|
||||
|
||||
#endif /* ! defined(_WIN32) && defined(XML_DEV_URANDOM) */
|
||||
|
||||
#endif /* ! defined(HAVE_ARC4RANDOM_BUF) && ! defined(HAVE_ARC4RANDOM) */
|
||||
|
||||
|
||||
#if defined(HAVE_ARC4RANDOM)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user