declare const id argument const for probe_{ext2,ext3,cramfs}
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -98,7 +98,7 @@ static void get_ext2_info(blkid_dev dev, unsigned char *buf) | |
| static int probe_ext3(int fd __BLKID_ATTR((unused)), | |
| blkid_cache cache __BLKID_ATTR((unused)), | |
| blkid_dev dev, | |
| - | struct blkid_magic *id __BLKID_ATTR((unused)), |
| + | const struct blkid_magic *id __BLKID_ATTR((unused)), |
| unsigned char *buf) | |
| { | |
| struct ext2_super_block *es; | |
| @@ -125,7 +125,7 @@ static int probe_ext3(int fd __BLKID_ATTR((unused)), | |
| static int probe_ext2(int fd __BLKID_ATTR((unused)), | |
| blkid_cache cache __BLKID_ATTR((unused)), | |
| blkid_dev dev, | |
| - | struct blkid_magic *id __BLKID_ATTR((unused)), |
| + | const struct blkid_magic *id __BLKID_ATTR((unused)), |
| unsigned char *buf) | |
| { | |
| struct ext2_super_block *es; | |
| @@ -307,7 +307,7 @@ static int probe_romfs(int fd __BLKID_ATTR((unused)), | |
| static int probe_cramfs(int fd __BLKID_ATTR((unused)), | |
| blkid_cache cache __BLKID_ATTR((unused)), | |
| blkid_dev dev, | |
| - | struct blkid_magic *id __BLKID_ATTR((unused)), |
| + | const struct blkid_magic *id __BLKID_ATTR((unused)), |
| unsigned char *buf) | |
| { | |
| struct cramfs_super_block *csb; | |