summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/bootpd.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-11-12 10:11:48 +0000
committermarcel <marcel@FreeBSD.org>1999-11-12 10:11:48 +0000
commitecf46de3954a15b8a26c985836876bcb12c5a91b (patch)
tree47ff59bfd49d50148737c7a2afc711213664236d /libexec/bootpd/bootpd.h
parentdc10af68ca843a358a44f3884c2e97a72027b4d8 (diff)
downloadFreeBSD-src-ecf46de3954a15b8a26c985836876bcb12c5a91b.zip
FreeBSD-src-ecf46de3954a15b8a26c985836876bcb12c5a91b.tar.gz
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>
Diffstat (limited to 'libexec/bootpd/bootpd.h')
-rw-r--r--libexec/bootpd/bootpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/bootpd/bootpd.h b/libexec/bootpd/bootpd.h
index e5ce341..86c1b3d 100644
--- a/libexec/bootpd/bootpd.h
+++ b/libexec/bootpd/bootpd.h
@@ -23,6 +23,8 @@ SOFTWARE.
/*
* bootpd.h -- common header file for all the modules of the bootpd program.
+ *
+ * $FreeBSD$
*/
#include "bptypes.h"
@@ -181,7 +183,7 @@ struct host {
RFC951 only allocates 1 byte. . . */
haddr[MAXHADDRLEN];
int32 time_offset;
- unsigned int32 bootsize,
+ u_int32 bootsize,
msg_size,
min_wait;
struct in_addr bootserver,
OpenPOWER on IntegriCloud