summaryrefslogtreecommitdiff
path: root/common/packet.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1997-06-08 04:08:01 +0000
committerTed Lemon <source@isc.org>1997-06-08 04:08:01 +0000
commit0cbc9e2382017f308e483b515d1772af5c64ebb6 (patch)
tree9a922e5193a074756b3968ae246fba15e24466f6 /common/packet.c
parent732a90b2903efb539c2bbf11a545cfe7314e689c (diff)
downloadisc-dhcp-0cbc9e2382017f308e483b515d1772af5c64ebb6.tar.gz
size_t -> ssize_t in return values where < 0 == error
Diffstat (limited to 'common/packet.c')
-rw-r--r--common/packet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/packet.c b/common/packet.c
index e02a6162..a90bd752 100644
--- a/common/packet.c
+++ b/common/packet.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: packet.c,v 1.17 1997/05/09 08:07:33 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: packet.c,v 1.18 1997/06/08 04:08:01 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -216,7 +216,7 @@ void assemble_udp_ip_header (interface, buf, bufix,
/* Decode a hardware header... */
/* XXX currently only supports ethernet; doesn't check for other types. */
-size_t decode_hw_header (interface, buf, bufix, from)
+ssize_t decode_hw_header (interface, buf, bufix, from)
struct interface_info *interface;
unsigned char *buf;
int bufix;
@@ -239,7 +239,7 @@ size_t decode_hw_header (interface, buf, bufix, from)
/* UDP header and IP header decoded together for convenience. */
-size_t decode_udp_ip_header (interface, buf, bufix, from, data, len)
+ssize_t decode_udp_ip_header (interface, buf, bufix, from, data, len)
struct interface_info *interface;
unsigned char *buf;
int bufix;