3152. [cleanup] Some versions of gcc and clang failed due to

incorrect use of __builtin_expect. [RT #25183]
This commit is contained in:
Evan Hunt
2011-09-05 18:00:22 +00:00
parent 6010c10f1f
commit 76a7d4e152
4 changed files with 9 additions and 16 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: cfg_test.c,v 1.23 2010/01/11 23:48:37 tbox Exp $ */
/* $Id: cfg_test.c,v 1.24 2011/09/05 18:00:22 each Exp $ */
/*! \file */
@@ -49,7 +49,7 @@ check_result(isc_result_t result, const char *format, ...) {
static void
output(void *closure, const char *text, int textlen) {
UNUSED(closure);
(void) isc_util_fwrite(text, 1, textlen, stdout);
(void) fwrite(text, 1, textlen, stdout);
}
static void