From cbebfe6209cf200673bf91695e520124e4fd9134 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 20 Nov 2000 15:21:31 +0000 Subject: commiting modifs of Fri 17 (do not typedef the structs anymore, s/malloc/alloca when possible, return int all the time) --- mdk-stage1/mar/mar.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mdk-stage1/mar/mar.h') diff --git a/mdk-stage1/mar/mar.h b/mdk-stage1/mar/mar.h index a5ea62aa0..bd731770b 100644 --- a/mdk-stage1/mar/mar.h +++ b/mdk-stage1/mar/mar.h @@ -53,20 +53,20 @@ * */ -typedef struct mar_element_s +struct mar_element { char * filename; /* filename (ASCIIZ) of the element */ int file_length; /* length (in bytes) of the raw data of the element */ int data_offset; /* seek start of the raw data in the underlying mar stream */ - struct mar_element_s * next_element; /* pointer to the next element in the mar stream; NULL if last */ -} mar_element; + struct mar_element * next_element; /* pointer to the next element in the mar stream; NULL if last */ +}; -typedef struct mar_stream_s +struct mar_stream { int crc32; /* crc32 of the mar stream; it is the addition of all the 8-bit char's from the stream */ - mar_element * first_element; /* pointer to the first element inside the mar stream */ + struct mar_element * first_element; /* pointer to the first element inside the mar stream */ gzFile mar_gzfile; /* associated gzFile (opened) */ -} mar_stream; +}; int gz_errnum; -- cgit v1.2.1