ChangeLog, dumpe2fs.c, mke2fs.c:
  dumpe2fs.c: Use WORDS_BIGENDIAN to determine whether or not we're
  	(not) using i386 byte order.
  dumpe2fs.c, mke2fs.c: Stop using the compatibility badblocks function,
  	and use the ext2fs_badblocks_* functions instead.
ChangeLog, inode.c, tst_iscan.c:
  inode.c, tst_iscan.c: Stop using the compatibility badblocks function,
  	and use the ext2fs_badblocks_* functions instead.
ChangeLog, badblocks.c:
  badblocks.c: Stop using the compatibility badblocks function, and use
  	the ext2fs_badblocks_* functions instead.

diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index a801ad0..65c7cdb 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -255,7 +255,7 @@
 	 */
 	must_be_good = fs->super->s_first_data_block + 1 + fs->desc_blocks;
 	for (i = fs->super->s_first_data_block; i <= must_be_good; i++) {
-		if (badblocks_list_test(bb_list, i)) {
+		if (ext2fs_badblocks_list_test(bb_list, i)) {
 			fprintf(stderr, _("Block %d in primary "
 				"superblock/group descriptor area bad.\n"), i);
 			fprintf(stderr, _("Blocks %d through %d must be good "
@@ -277,8 +277,8 @@
 	for (i = 1; i < fs->group_desc_count; i++) {
 		group_bad = 0;
 		for (j=0; j < fs->desc_blocks+1; j++) {
-			if (badblocks_list_test(bb_list, group_block +
-						j)) {
+			if (ext2fs_badblocks_list_test(bb_list,
+						       group_block + j)) {
 				if (!group_bad) 
 					fprintf(stderr,
 _("Warning: the backup superblock/group descriptors at block %d contain\n"
@@ -296,15 +296,15 @@
 	/*
 	 * Mark all the bad blocks as used...
 	 */
-	retval = badblocks_list_iterate_begin(bb_list, &bb_iter);
+	retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter);
 	if (retval) {
-		com_err("badblocks_list_iterate_begin", retval,
+		com_err("ext2fs_badblocks_list_iterate_begin", retval,
 			_("while marking bad blocks as used"));
 		exit(1);
 	}
-	while (badblocks_list_iterate(bb_iter, &blk)) 
+	while (ext2fs_badblocks_list_iterate(bb_iter, &blk)) 
 		ext2fs_mark_block_bitmap(fs->block_map, blk);
-	badblocks_list_iterate_end(bb_iter);
+	ext2fs_badblocks_list_iterate_end(bb_iter);
 }
 
 /*