File: bptypes.h

package info (click to toggle)
bootpc 0.64-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 272 kB
  • sloc: ansic: 1,641; sh: 137; makefile: 80
file content (27 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* bptypes.h */

#ifndef	BPTYPES_H
#define	BPTYPES_H

/*
 * 32 bit integers are different types on various architectures
 */

/* I hope that this test actually works! */

#ifndef	int32
/* Assume that int is 32bits -- we can't test better than this in cpp
   If this is wrong, then define int32 externally to override this */
# define int32 int
#endif

typedef unsigned int32 u_int32;

/*
 * Nice typedefs. . .
 */

typedef int boolean;
typedef unsigned char byte;

#endif	/* BPTYPES_H */