retire PUBLIC, PRIVATE and FORWARD
This commit is contained in:
@@ -11,18 +11,18 @@
|
||||
/* Extended partition? */
|
||||
#define ext_part(s) ((s) == 0x05 || (s) == 0x0F)
|
||||
|
||||
FORWARD void parse_part_table(struct blockdriver *bdp, int device, int
|
||||
static void parse_part_table(struct blockdriver *bdp, int device, int
|
||||
style, int atapi, u8_t *tmp_buf);
|
||||
FORWARD void extpartition(struct blockdriver *bdp, int extdev, unsigned
|
||||
static void extpartition(struct blockdriver *bdp, int extdev, unsigned
|
||||
long extbase, u8_t *tmp_buf);
|
||||
FORWARD int get_part_table(struct blockdriver *bdp, int device, unsigned
|
||||
static int get_part_table(struct blockdriver *bdp, int device, unsigned
|
||||
long offset, struct part_entry *table, u8_t *tmp_buf);
|
||||
FORWARD void sort(struct part_entry *table);
|
||||
static void sort(struct part_entry *table);
|
||||
|
||||
/*============================================================================*
|
||||
* partition *
|
||||
*============================================================================*/
|
||||
PUBLIC void partition(bdp, device, style, atapi)
|
||||
void partition(bdp, device, style, atapi)
|
||||
struct blockdriver *bdp; /* device dependent entry points */
|
||||
int device; /* device to partition */
|
||||
int style; /* partitioning style: floppy, primary, sub. */
|
||||
@@ -51,7 +51,7 @@ int atapi; /* atapi device */
|
||||
/*============================================================================*
|
||||
* parse_part_table *
|
||||
*============================================================================*/
|
||||
PRIVATE void parse_part_table(bdp, device, style, atapi, tmp_buf)
|
||||
static void parse_part_table(bdp, device, style, atapi, tmp_buf)
|
||||
struct blockdriver *bdp; /* device dependent entry points */
|
||||
int device; /* device to partition */
|
||||
int style; /* partitioning style: floppy, primary, sub. */
|
||||
@@ -128,7 +128,7 @@ u8_t *tmp_buf; /* temporary buffer */
|
||||
/*============================================================================*
|
||||
* extpartition *
|
||||
*============================================================================*/
|
||||
PRIVATE void extpartition(bdp, extdev, extbase, tmp_buf)
|
||||
static void extpartition(bdp, extdev, extbase, tmp_buf)
|
||||
struct blockdriver *bdp; /* device dependent entry points */
|
||||
int extdev; /* extended partition to scan */
|
||||
unsigned long extbase; /* sector offset of the base ext. partition */
|
||||
@@ -177,7 +177,7 @@ u8_t *tmp_buf; /* temporary buffer */
|
||||
/*============================================================================*
|
||||
* get_part_table *
|
||||
*============================================================================*/
|
||||
PRIVATE int get_part_table(bdp, device, offset, table, tmp_buf)
|
||||
static int get_part_table(bdp, device, offset, table, tmp_buf)
|
||||
struct blockdriver *bdp;
|
||||
int device;
|
||||
unsigned long offset; /* sector offset to the table */
|
||||
@@ -210,7 +210,7 @@ u8_t *tmp_buf; /* temporary buffer */
|
||||
/*===========================================================================*
|
||||
* sort *
|
||||
*===========================================================================*/
|
||||
PRIVATE void sort(table)
|
||||
static void sort(table)
|
||||
struct part_entry *table;
|
||||
{
|
||||
/* Sort a partition table. */
|
||||
|
||||
Reference in New Issue
Block a user