]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
size_t -> ssize_t in return values where < 0 == error
authorTed Lemon <source@isc.org>
Sun, 8 Jun 1997 04:08:01 +0000 (04:08 +0000)
committerTed Lemon <source@isc.org>
Sun, 8 Jun 1997 04:08:01 +0000 (04:08 +0000)
common/packet.c

index e02a6162db00819ac52cd1bfd55ed839de2278c0..a90bd75219ee57109c13699128ba50b70e049c7d 100644 (file)
@@ -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;