projects
/
rrq
/
maintain_lilo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add patch for file lilo.conf.5
[rrq/maintain_lilo.git]
/
src
/
partition.h
diff --git
a/src/partition.h
b/src/partition.h
index e3c2fa3f9fbb764b9bd584914bf44295a4d21380..c84a54028fd39318cb9e927483d3b0baf9b8376a 100644
(file)
--- a/
src/partition.h
+++ b/
src/partition.h
@@
-2,7
+2,7
@@
*
* Copyright 1992-1998 Werner Almesberger
* Copyright 1999-2004 John Coffman
*
* Copyright 1992-1998 Werner Almesberger
* Copyright 1999-2004 John Coffman
- * Copyright 2009-201
1
Joachim Wiedorn
+ * Copyright 2009-201
5
Joachim Wiedorn
* All rights reserved.
*
* Licensed under the terms contained in the file 'COPYING'
* All rights reserved.
*
* Licensed under the terms contained in the file 'COPYING'
@@
-26,10
+26,10
@@
enum {PTW_OKAY=0, PTW_DOS=1, PTW_OS2=2, PTW_SWAP, PTW_XFS,
PTW_mask=7, PTW_NTFS=8};
PTW_mask=7, PTW_NTFS=8};
-#define LLSECTORSIZE ((
long long
)SECTOR_SIZE)
+#define LLSECTORSIZE ((
int64_t
)SECTOR_SIZE)
#if __GLIBC__ < 2 || __GLIBC_MINOR__ < 1
#if __GLIBC__ < 2 || __GLIBC_MINOR__ < 1
-typedef
long long
lloff_t;
+typedef
int64_t
lloff_t;
#ifdef _syscall5
lloff_t lseek64(unsigned int fd, lloff_t offs, unsigned int whence);
#ifdef _syscall5
lloff_t lseek64(unsigned int fd, lloff_t offs, unsigned int whence);
@@
-80,7
+80,7
@@
void do_install_mbr(char *where, char *what);
/* Install a new MBR (Master Boot Record) */
int read_partitions(char *part, int max, int *volid,
/* Install a new MBR (Master Boot Record) */
int read_partitions(char *part, int max, int *volid,
- struct partition *p,
long long
*where);
+ struct partition *p,
int64_t
*where);
/* read all partitions & partition tables */
#endif
/* read all partitions & partition tables */
#endif