diff options
| author | dholland <dholland@NetBSD.org> | 2009-08-27 00:36:32 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-08-27 00:36:32 +0000 |
| commit | 3471f21c43d710b74453a2d61af04b91a33789e5 (patch) | |
| tree | 6b1503779ec5234f0c5c3671ef61e257046b9624 /hunt/huntd/answer.c | |
| parent | 27d415afc2438490c618512c840b804dd7f648d8 (diff) | |
| download | bsdgames-darwin-3471f21c43d710b74453a2d61af04b91a33789e5.tar.gz bsdgames-darwin-3471f21c43d710b74453a2d61af04b91a33789e5.zip | |
u_int32_t -> uint32_t
Diffstat (limited to 'hunt/huntd/answer.c')
| -rw-r--r-- | hunt/huntd/answer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hunt/huntd/answer.c b/hunt/huntd/answer.c index 396fdba9..95bdded4 100644 --- a/hunt/huntd/answer.c +++ b/hunt/huntd/answer.c @@ -1,4 +1,4 @@ -/* $NetBSD: answer.c,v 1.15 2009/08/12 07:42:11 dholland Exp $ */ +/* $NetBSD: answer.c,v 1.16 2009/08/27 00:36:32 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: answer.c,v 1.15 2009/08/12 07:42:11 dholland Exp $"); +__RCSID("$NetBSD: answer.c,v 1.16 2009/08/27 00:36:32 dholland Exp $"); #endif /* not lint */ #include <ctype.h> @@ -65,7 +65,7 @@ answer(void) static SOCKET sockstruct; char *cp1, *cp2; int flags; - u_int32_t version; + uint32_t version; int i; #ifdef INTERNET @@ -93,7 +93,7 @@ answer(void) if (machine == 0) machine = gethostid(); #endif - version = htonl((u_int32_t) HUNT_VERSION); + version = htonl((uint32_t) HUNT_VERSION); (void) write(newsock, &version, LONGLEN); (void) read(newsock, &uid, LONGLEN); uid = ntohl(uid); |
