From 1d4ad1decc539c9729b592e6050460d6487c95f4 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 7 Dec 2006 00:25:54 +0100 Subject: Imported from util-linux-2.11q tarball. --- partx/partx.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'partx/partx.h') diff --git a/partx/partx.h b/partx/partx.h index b96588a59..efaa0640a 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 */ -- cgit v1.2.3-55-g7522