mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Change part_length to a define
git-svn-id: svn://coreboot.org/openbios/openbios-devel@311 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -121,8 +121,8 @@ substring (const char *s1, const char *s2)
|
||||
#define current_slice 0
|
||||
#define current_partition 0
|
||||
|
||||
extern unsigned long part_start;
|
||||
extern unsigned long part_length;
|
||||
/* we fake this for now, assuming that the filesystem is not corrupt */
|
||||
#define part_length -1
|
||||
extern int filepos;
|
||||
extern int filemax;
|
||||
extern int fsmax;
|
||||
|
||||
@@ -31,9 +31,6 @@ int filemax;
|
||||
grub_error_t errnum;
|
||||
char FSYS_BUF[FSYS_BUFLEN];
|
||||
|
||||
/* we fake this for now, assuming that the filesystem is not corrupt */
|
||||
unsigned long part_length=(unsigned long)-1;
|
||||
|
||||
/* these are not even used by us, instead
|
||||
* the grub fs drivers want them:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user