done a dozen of randconfig test. guess what? ALL failed...
these are resulting fixes
This commit is contained in:
@ -2797,7 +2797,6 @@ int fdisk_main(int argc, char **argv)
|
||||
{
|
||||
char *str_b, *str_C, *str_H, *str_S;
|
||||
unsigned opt;
|
||||
int c;
|
||||
/*
|
||||
* fdisk -v
|
||||
* fdisk -l [-b sectorsize] [-u] device ...
|
||||
@ -2921,6 +2920,7 @@ int fdisk_main(int argc, char **argv)
|
||||
}
|
||||
|
||||
while (1) {
|
||||
int c;
|
||||
putchar('\n');
|
||||
c = tolower(read_nonempty(_("Command (m for help): ")));
|
||||
switch (c) {
|
||||
|
@ -453,6 +453,8 @@ static void make_bad_inode2(void)
|
||||
if (dind)
|
||||
write_block(dind, (char *) dind_block);
|
||||
}
|
||||
#else
|
||||
void make_bad_inode2(void);
|
||||
#endif
|
||||
|
||||
static void make_root_inode(void)
|
||||
@ -499,6 +501,8 @@ static void make_root_inode2(void)
|
||||
inode->i_gid = GETGID;
|
||||
write_block(inode->i_zone[0], root_block);
|
||||
}
|
||||
#else
|
||||
void make_root_inode2(void);
|
||||
#endif
|
||||
|
||||
static void setup_tables(void)
|
||||
|
Reference in New Issue
Block a user