X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=e2fsprogs%2Fe2fsck.c;h=ceafaea4b7669e29300a1c9e07af3b32752db033;hb=5929edc1fac4340f99ed84e92bf3a2bedd4177c2;hp=c169ed40dcf839c190449de11299bf90296d9b2a;hpb=81369a8b2fd1ac55ce734358a93cdd65817324c1;p=oweals%2Fbusybox.git diff --git a/e2fsprogs/e2fsck.c b/e2fsprogs/e2fsck.c index c169ed40d..ceafaea4b 100644 --- a/e2fsprogs/e2fsck.c +++ b/e2fsprogs/e2fsck.c @@ -39,6 +39,9 @@ #include "e2fsck.h" /*Put all of our defines here to clean things up*/ +#define _(x) x +#define N_(x) x + /* * Procedure declarations */ @@ -2891,7 +2894,7 @@ static void mark_inode_bad(e2fsck_t ctx, ino_t ino); static void handle_fs_bad_blocks(e2fsck_t ctx); static void process_inodes(e2fsck_t ctx, char *block_buf); static int process_inode_cmp(const void *a, const void *b); -static errcode_t scan_callback(ext2_filsys fs, ext2_inode_scan scan, +static errcode_t scan_callback(ext2_filsys fs, dgrp_t group, void * priv_data); static void adjust_extattr_refcount(e2fsck_t ctx, ext2_refcount_t refcount, char *block_buf, int adjust_sign); @@ -3721,7 +3724,6 @@ endit: * glock group, call process_inodes. */ static errcode_t scan_callback(ext2_filsys fs, - ext2_inode_scan scan FSCK_ATTR((unused)), dgrp_t group, void * priv_data) { struct scan_callback_struct *scan_struct;