1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-af,v 1.1 2006/10/09 13:23:37 joerg Exp $
--- mbr.c.orig 2006-10-09 15:14:59.000000000 +0000
+++ mbr.c
@@ -37,7 +37,7 @@ static struct ptable_list_s *Ptable_list
static struct ptable_list_s *build_ptable(off_t);
static int read_ptable(off_t, struct ptable_entry *);
-static int scheck_ptable(struct ptable_entry *, sig_t);
+static int scheck_ptable(struct ptable_entry *, signature_t);
static int scheck_boot_indicator(struct ptable_entry *);
static int scheck_sys_indicator(struct ptable_entry *);
static int scheck_part_range(struct part_range_s *);
@@ -203,7 +203,7 @@ static struct ptable_list_s *build_ptabl
static int read_ptable(off_t offset, struct ptable_entry *table)
{
int i;
- sig_t signature;
+ signature_t signature;
u_int8_t *index, *buffer;
fbvar_t *sectsize_var;
unsigned sectsize;
@@ -282,7 +282,7 @@ static int is_extended_part(struct ptabl
/*
* Sanity check a partition table
*/
-static int scheck_ptable(struct ptable_entry *table, sig_t sig)
+static int scheck_ptable(struct ptable_entry *table, signature_t sig)
{
int i, num_partitions = 0;
struct part_range_s prange[NUM_PTABLE_ENTRIES];
|