Use int16_t and int32_t rather than short and int.
This commit is contained in:
parent
b5139de154
commit
a0795dd18e
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: volhdr.h,v 1.2 2003/08/07 16:27:43 agc Exp $ */
|
/* $NetBSD: volhdr.h,v 1.3 2003/11/13 14:06:22 tsutsui Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1990, 1993
|
* Copyright (c) 1990, 1993
|
||||||
@ -77,33 +77,33 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
struct lifvol {
|
struct lifvol {
|
||||||
short vol_id;
|
int16_t vol_id;
|
||||||
char vol_label[6];
|
char vol_label[6];
|
||||||
int vol_addr;
|
int32_t vol_addr;
|
||||||
short vol_oct;
|
int16_t vol_oct;
|
||||||
short vol_dummy;
|
int16_t vol_dummy;
|
||||||
int vol_dirsize;
|
int32_t vol_dirsize;
|
||||||
short vol_version;
|
int16_t vol_version;
|
||||||
short vol_zero;
|
int16_t vol_zero;
|
||||||
int vol_huh1;
|
int32_t vol_huh1;
|
||||||
int vol_huh2;
|
int32_t vol_huh2;
|
||||||
int vol_length;
|
int32_t vol_length;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct lifdir {
|
struct lifdir {
|
||||||
char dir_name[10];
|
char dir_name[10];
|
||||||
short dir_type;
|
uint16_t dir_type;
|
||||||
int dir_addr;
|
int32_t dir_addr;
|
||||||
int dir_length;
|
int32_t dir_length;
|
||||||
char dir_toc[6];
|
char dir_toc[6];
|
||||||
short dir_flag;
|
int16_t dir_flag;
|
||||||
int dir_exec;
|
int32_t dir_exec;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* load header for boot rom */
|
/* load header for boot rom */
|
||||||
struct load {
|
struct load {
|
||||||
int address;
|
int32_t address;
|
||||||
int count;
|
int32_t count;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define VOL_ID -32768
|
#define VOL_ID -32768
|
||||||
|
Loading…
Reference in New Issue
Block a user