diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-03-18 04:17:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-03-18 04:17:59 +0000 |
commit | 9aa7f2005d78f1b51376f66d639bd54a6396e915 (patch) | |
tree | 69043fb5559ff9189f5482500a1d50e6b290b15b /e2fsprogs | |
parent | 179f41778880d0a233435f5c9ed04e17316f479a (diff) | |
download | busybox-w32-9aa7f2005d78f1b51376f66d639bd54a6396e915.tar.gz busybox-w32-9aa7f2005d78f1b51376f66d639bd54a6396e915.tar.bz2 busybox-w32-9aa7f2005d78f1b51376f66d639bd54a6396e915.zip |
declare const id argument const for probe_{ext2,ext3,cramfs}
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/blkid/probe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/blkid/probe.c b/e2fsprogs/blkid/probe.c index 5ee8a200e..03bbc749c 100644 --- a/e2fsprogs/blkid/probe.c +++ b/e2fsprogs/blkid/probe.c | |||
@@ -98,7 +98,7 @@ static void get_ext2_info(blkid_dev dev, unsigned char *buf) | |||
98 | static int probe_ext3(int fd __BLKID_ATTR((unused)), | 98 | static int probe_ext3(int fd __BLKID_ATTR((unused)), |
99 | blkid_cache cache __BLKID_ATTR((unused)), | 99 | blkid_cache cache __BLKID_ATTR((unused)), |
100 | blkid_dev dev, | 100 | blkid_dev dev, |
101 | struct blkid_magic *id __BLKID_ATTR((unused)), | 101 | const struct blkid_magic *id __BLKID_ATTR((unused)), |
102 | unsigned char *buf) | 102 | unsigned char *buf) |
103 | { | 103 | { |
104 | struct ext2_super_block *es; | 104 | struct ext2_super_block *es; |
@@ -125,7 +125,7 @@ static int probe_ext3(int fd __BLKID_ATTR((unused)), | |||
125 | static int probe_ext2(int fd __BLKID_ATTR((unused)), | 125 | static int probe_ext2(int fd __BLKID_ATTR((unused)), |
126 | blkid_cache cache __BLKID_ATTR((unused)), | 126 | blkid_cache cache __BLKID_ATTR((unused)), |
127 | blkid_dev dev, | 127 | blkid_dev dev, |
128 | struct blkid_magic *id __BLKID_ATTR((unused)), | 128 | const struct blkid_magic *id __BLKID_ATTR((unused)), |
129 | unsigned char *buf) | 129 | unsigned char *buf) |
130 | { | 130 | { |
131 | struct ext2_super_block *es; | 131 | struct ext2_super_block *es; |
@@ -307,7 +307,7 @@ static int probe_romfs(int fd __BLKID_ATTR((unused)), | |||
307 | static int probe_cramfs(int fd __BLKID_ATTR((unused)), | 307 | static int probe_cramfs(int fd __BLKID_ATTR((unused)), |
308 | blkid_cache cache __BLKID_ATTR((unused)), | 308 | blkid_cache cache __BLKID_ATTR((unused)), |
309 | blkid_dev dev, | 309 | blkid_dev dev, |
310 | struct blkid_magic *id __BLKID_ATTR((unused)), | 310 | const struct blkid_magic *id __BLKID_ATTR((unused)), |
311 | unsigned char *buf) | 311 | unsigned char *buf) |
312 | { | 312 | { |
313 | struct cramfs_super_block *csb; | 313 | struct cramfs_super_block *csb; |