=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/file/file.h,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/file/file.h 1998/07/10 15:05:21 1.5 --- src/usr.bin/file/file.h 1998/10/13 07:51:51 1.6 *************** *** 1,4 **** ! /* $OpenBSD: file.h,v 1.5 1998/07/10 15:05:21 mickey Exp $ */ /* * file.h - definitions for file(1) program --- 1,4 ---- ! /* $OpenBSD: file.h,v 1.6 1998/10/13 07:51:51 deraadt Exp $ */ /* * file.h - definitions for file(1) program *************** *** 30,35 **** --- 30,36 ---- #ifndef __file_h__ #define __file_h__ + typedef int8_t int8; typedef int32_t int32; typedef u_int32_t uint32; *************** *** 47,58 **** #define ADD 4 /* if '>&' appears, */ short cont_level; /* level of ">" */ struct { ! char type; /* byte short long */ int32 offset; /* offset from indirection */ } in; int32 offset; /* offset to magic number */ unsigned char reln; /* relation (0=eq, '>'=gt, etc) */ ! char type; /* int, short, long or string. */ char vallen; /* length of string value, if any */ #define BYTE 1 #define SHORT 2 --- 48,59 ---- #define ADD 4 /* if '>&' appears, */ short cont_level; /* level of ">" */ struct { ! int8 type; /* byte short long */ int32 offset; /* offset from indirection */ } in; int32 offset; /* offset to magic number */ unsigned char reln; /* relation (0=eq, '>'=gt, etc) */ ! int8 type; /* int, short, long or string. */ char vallen; /* length of string value, if any */ #define BYTE 1 #define SHORT 2