mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 09:13:37 +01:00
8ef94ce860
bptypes.h originally defined int32 to be of type long. This obviously doesn't work on the Alpha. By defining int32 (and u_int32) in terms of int32_t (and u_int32_t) it now is what it says it should be. Two occurrences of 'unsigned int32' have been changed to 'u_int32' for consistency. Submitted by: Wilko Bulte <wilko@yedi.iaf.nl>
24 lines
303 B
C
24 lines
303 B
C
/* $FreeBSD$
|
|
*/
|
|
|
|
#ifndef BPTYPES_H
|
|
#define BPTYPES_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
/*
|
|
* 32 bit integers are different types on various architectures
|
|
*/
|
|
|
|
#define int32 int32_t
|
|
#define u_int32 u_int32_t
|
|
|
|
/*
|
|
* Nice typedefs. . .
|
|
*/
|
|
|
|
typedef int boolean;
|
|
typedef unsigned char byte;
|
|
|
|
#endif /* BPTYPES_H */
|