From: Christos Zoulas Date: Tue, 31 Oct 2006 20:57:45 +0000 (+0000) Subject: restructure again. X-Git-Tag: FILE5_05~711 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce2be51fa9653131357c548885fdd9dad6454558;p=file restructure again. --- diff --git a/src/file.h b/src/file.h index fac3e208..1723ec7b 100644 --- a/src/file.h +++ b/src/file.h @@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$Id: file.h,v 1.79 2006/10/31 20:46:23 christos Exp $ + * @(#)$Id: file.h,v 1.80 2006/10/31 20:57:45 christos Exp $ */ #ifndef __file_h__ @@ -224,9 +224,11 @@ struct magic { uint32_t offset; /* offset to magic number */ /* Word 5 */ int32_t in_offset; /* offset from indirection */ - /* Word 6,7 */ + /* Word 6 */ + uint32_t dummy4; + /* Word 7,8 */ uint64_t mask; /* mask before comparison with value */ - /* Words 8-15 */ + /* Words 9-16 */ union VALUETYPE { uint8_t b; uint16_t h; @@ -241,8 +243,6 @@ struct magic { uint8_t hl[4]; /* 4 bytes of a fixed-endian "long" */ uint8_t hq[8]; /* 8 bytes of a fixed-endian "quad" */ } value; /* either number or string */ - /* Word 16 */ - uint32_t dummp4; /* Words 17..31 */ char desc[MAXDESC]; /* description */ };