Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 725988
Collapse All | Expand All

(-)atari-fdisk-0.7.1/atari-fdisk.c (-1 / +5 lines)
Lines 183-189 int n_global_options = fieldsize(global_ Link Here
183
183
184
jmp_buf listingbuf;
184
jmp_buf listingbuf;
185
185
186
186
enum {
187
    xfmt_unknown,
188
    xfmt_AHDI,
189
    xfmt_ICD
190
} xpart_fmt;                    /* which format used for >4 part.s */
187
191
188
/***************************** Prototypes *****************************/
192
/***************************** Prototypes *****************************/
189
193
(-)atari-fdisk-0.7.1/fdisk.h (-6 lines)
Lines 86-97 struct systypes { Link Here
86
    char *name;
86
    char *name;
87
};
87
};
88
88
89
enum {
90
    xfmt_unknown,
91
    xfmt_AHDI,
92
    xfmt_ICD
93
} xpart_fmt;			/* which format used for >4 part.s */
94
95
#define MAX_PRIMARY_AHDI	4
89
#define MAX_PRIMARY_AHDI	4
96
#define MAX_PRIMARY_ICD		12
90
#define MAX_PRIMARY_ICD		12
97
#define MAX_PRIMARY		(xpart_fmt == xfmt_ICD ?	\
91
#define MAX_PRIMARY		(xpart_fmt == xfmt_ICD ?	\
(-)atari-fdisk-0.7.1/menufuncs.c (+5 lines)
Lines 143-148 static char vcid[] __attribute__ ((unuse Link Here
143
#include "disk.h"
143
#include "disk.h"
144
#include "util.h"
144
#include "util.h"
145
145
146
extern enum {
147
    xfmt_unknown,
148
    xfmt_AHDI,
149
    xfmt_ICD
150
} xpart_fmt;                    /* which format used for >4 part.s */
146
151
147
void set_bootable( void )
152
void set_bootable( void )
148
{
153
{
(-)atari-fdisk-0.7.1/partable.c (+5 lines)
Lines 60-65 static char vcid[] __attribute__ ((unuse Link Here
60
#include "partable.h"
60
#include "partable.h"
61
#include "util.h"
61
#include "util.h"
62
62
63
extern enum {
64
    xfmt_unknown,
65
    xfmt_AHDI,
66
    xfmt_ICD
67
} xpart_fmt;                    /* which format used for >4 part.s */
63
68
64
/* sector inside partition? */
69
/* sector inside partition? */
65
int inside_part( PARTITION *p, unsigned long sec )
70
int inside_part( PARTITION *p, unsigned long sec )
(-)atari-fdisk-0.7.1/readpart.c (+5 lines)
Lines 78-83 static char vcid[] __attribute__ ((unuse Link Here
78
#include "input.h"
78
#include "input.h"
79
#include "util.h"
79
#include "util.h"
80
80
81
extern enum {
82
    xfmt_unknown,
83
    xfmt_AHDI,
84
    xfmt_ICD
85
} xpart_fmt;                    /* which format used for >4 part.s */
81
86
82
/***************************** Prototypes *****************************/
87
/***************************** Prototypes *****************************/
83
88
(-)atari-fdisk-0.7.1/writepart.c (+5 lines)
Lines 66-71 static char vcid[] __attribute__ ((unuse Link Here
66
#include "util.h"
66
#include "util.h"
67
#include "readpart.h"
67
#include "readpart.h"
68
68
69
extern enum {
70
    xfmt_unknown,
71
    xfmt_AHDI,
72
    xfmt_ICD
73
} xpart_fmt;                    /* which format used for >4 part.s */
69
74
70
/* tell the kernel to reread the partition tables */
75
/* tell the kernel to reread the partition tables */
71
int reread_ioctl( int fd )
76
int reread_ioctl( int fd )

Return to bug 725988