diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-12-23 05:58:24 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-12-23 05:58:24 +0000 |
commit | 19243ab4402ef9d4ea6f63dc9cba8223dfc66735 (patch) | |
tree | 6a643ac779c1081606ae0480d17410c0c6747c5f | |
parent | 76554f848542b17b3f6999a57830c1971f9f32b3 (diff) | |
download | anaconda-19243ab4402ef9d4ea6f63dc9cba8223dfc66735.tar.gz anaconda-19243ab4402ef9d4ea6f63dc9cba8223dfc66735.tar.xz anaconda-19243ab4402ef9d4ea6f63dc9cba8223dfc66735.zip |
more trying to get it to compile
-rw-r--r-- | isys/dasd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/isys/dasd.c b/isys/dasd.c index 26786af3b..77c003076 100644 --- a/isys/dasd.c +++ b/isys/dasd.c @@ -18,7 +18,7 @@ #if defined(__s390__) || defined(__s390x__) /* s390 stuff to detect DASDs */ -int vtoc_read_volume_label (int fd, unsigned long vlabel_start, +static int vtoc_read_volume_label (int fd, unsigned long vlabel_start, volume_label_t *vlabel) { int rc; if (lseek(fd, vlabel_start, SEEK_SET) < 0) { @@ -33,13 +33,13 @@ int vtoc_read_volume_label (int fd, unsigned long vlabel_start, return 0; } -int read_vlabel(dasd_information_t *dasd_info, int fd, int blksize, volume_label_t *vlabel) { +static int read_vlabel(dasd_information_t *dasd_info, int fd, int blksize, volume_label_t *vlabel) { unsigned long pos; pos = dasd_info->label_block * blksize; memset(vlabel, 0, sizeof(volume_label_t)); - return vtoc_read_volume_label(fd, pos, vlabel); + return read_volume_label(fd, pos, vlabel); } #endif |