From: Ted Lemon Date: Sun, 8 Jun 1997 04:08:01 +0000 (+0000) Subject: size_t -> ssize_t in return values where < 0 == error X-Git-Tag: DHCP-970607~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cbc9e2382017f308e483b515d1772af5c64ebb6;p=thirdparty%2Fdhcp.git size_t -> ssize_t in return values where < 0 == error --- diff --git a/common/packet.c b/common/packet.c index e02a6162d..a90bd7521 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;