Move unused function warning to gcc-unused topic branch

See commit 123b6b2f49.
This commit is contained in:
Brian Behlendorf 2010-08-12 21:17:01 -07:00
parent 996d43027b
commit eed31a5029
1 changed files with 2 additions and 0 deletions

View File

@ -1039,6 +1039,7 @@ ztest_pattern_set(void *buf, uint64_t size, uint64_t value)
*ip++ = value;
}
#ifndef NDEBUG
static boolean_t
ztest_pattern_match(void *buf, uint64_t size, uint64_t value)
{
@ -1051,6 +1052,7 @@ ztest_pattern_match(void *buf, uint64_t size, uint64_t value)
return (diff == 0);
}
#endif
static void
ztest_bt_generate(ztest_block_tag_t *bt, objset_t *os, uint64_t object,