GPT fdisk 0.5.0
Added several features, including a restructuring of the menu system,
GPT-to-MBR conversion, and the ability to re-read the MBR to generate
a fresh GPT from the current on-disk MBR.
diff --git a/gptpart.h b/gptpart.h
index 6b834ca..8d396df 100644
--- a/gptpart.h
+++ b/gptpart.h
@@ -9,8 +9,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
-/* This program is copyright (c) 2009 by Roderick W. Smith. It is distributed
- under the terms of the GNU GPL version 2, as detailed in the COPYING file. */
+// This program is copyright (c) 2009 by Roderick W. Smith. It is distributed
+// under the terms of the GNU GPL version 2, as detailed in the COPYING file.
#ifndef __GPTPART_H
#define __GPTPART_H
@@ -23,11 +23,11 @@
using namespace std;
-/*****************************************
- * *
- * GUIDPart class and related structures *
- * *
- *****************************************/
+/****************************************
+ * *
+ * GPTPart class and related structures *
+ * *
+ ****************************************/
class GPTPart {
protected:
@@ -73,7 +73,7 @@
// Additional functions
GPTPart & operator=(const GPTPart & orig);
- void ShowSummary(int i, uint32_t blockSize, char* sizeInSI); // display summary information (1-line)
+ void ShowSummary(int partNum, uint32_t blockSize); // display summary information (1-line)
void ShowDetails(uint32_t blockSize); // display detailed information (multi-line)
void BlankPartition(void); // empty partition of data
int DoTheyOverlap(GPTPart* other); // returns 1 if there's overlap