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:
Blue Swirl
2008-12-23 10:14:48 +00:00
parent 69508e66a1
commit 51c8f0bf08
2 changed files with 2 additions and 5 deletions

View File

@@ -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;

View File

@@ -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:
*/