xmlparse.c: Address warning about unused functions (#161)

This commit is contained in:
Sebastian Pipping 2017-10-24 22:46:30 +02:00
parent 535047b10c
commit a80b209884
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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)