diff options
author | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:54 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2006-12-07 00:25:54 +0100 |
commit | 1d4ad1decc539c9729b592e6050460d6487c95f4 (patch) | |
tree | c158c5f5baf15ea4bab5c05b2f6e2bdaca332c29 /partx/partx.h | |
parent | ffc4374869b9ac10539a3c18e13b29d1b0c64484 (diff) | |
download | util-linux-1d4ad1decc539c9729b592e6050460d6487c95f4.tar.gz |
Imported from util-linux-2.11q tarball.
Diffstat (limited to 'partx/partx.h')
-rw-r--r-- | partx/partx.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/partx/partx.h b/partx/partx.h index b96588a5..efaa0640 100644 --- a/partx/partx.h +++ b/partx/partx.h @@ -1,3 +1,6 @@ +#ifndef PARTX_H_INCLUDED +#define PARTX_H_INCLUDED + /* * For each partition type there is a routine that takes * a block device and a range, and returns the list of @@ -16,7 +19,7 @@ struct slice { typedef int (ptreader)(int fd, struct slice all, struct slice *sp, int ns); -extern ptreader read_dos_pt, read_bsd_pt, read_solaris_pt, read_unixware_pt; +extern ptreader read_dos_pt, read_bsd_pt, read_solaris_pt, read_unixware_pt, read_gpt_pt; char *getblock(int fd, unsigned int secnr); @@ -24,3 +27,5 @@ static inline int four2int(unsigned char *p) { return p[0] + (p[1]<<8) + (p[2]<<16) + (p[3]<<24); } + +#endif /* PARTX_H_INCLUDED */ |