diff options
author | Ted Lemon <source@isc.org> | 1997-06-08 03:18:09 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1997-06-08 03:18:09 +0000 |
commit | 4595a58c251248b3f001ec729b6c0747ea0b73d6 (patch) | |
tree | 00f0394a6c5abc3b48770ddc9e44d94ee29577a3 /common/upf.c | |
parent | c4036bb39555a1fff1e2879a2db58c36040d5064 (diff) | |
download | isc-dhcp-4595a58c251248b3f001ec729b6c0747ea0b73d6.tar.gz |
size_t -> ssize_t in return values where < 0 == error
Diffstat (limited to 'common/upf.c')
-rw-r--r-- | common/upf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/upf.c b/common/upf.c index dd666aa3..d5e27cc5 100644 --- a/common/upf.c +++ b/common/upf.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: upf.c,v 1.1 1997/03/05 06:09:04 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: upf.c,v 1.2 1997/06/08 03:18:09 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -217,7 +217,7 @@ void if_register_receive (info) #endif /* USE_UPF_RECEIVE */ #ifdef USE_UPF_SEND -size_t send_packet (interface, packet, raw, len, from, to, hto) +ssize_t send_packet (interface, packet, raw, len, from, to, hto) struct interface_info *interface; struct packet *packet; struct dhcp_packet *raw; @@ -247,7 +247,7 @@ size_t send_packet (interface, packet, raw, len, from, to, hto) #endif /* USE_UPF_SEND */ #ifdef USE_UPF_RECEIVE -size_t receive_packet (interface, buf, len, from, hfrom) +ssize_t receive_packet (interface, buf, len, from, hfrom) struct interface_info *interface; unsigned char *buf; size_t len; |