HardenedBSD/libexec/bootpd/bptypes.h
Marcel Moolenaar 8ef94ce860 Fix bootpd for Alpha.
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>
1999-11-12 10:11:48 +00:00

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 */