summaryrefslogtreecommitdiffstats
path: root/contrib/bind/lib/resolv/res_mkupdate.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2002-02-04 19:12:46 +0000
committernectar <nectar@FreeBSD.org>2002-02-04 19:12:46 +0000
commitebeabb1ba32f14e308ae9aff9a2a7151265259cf (patch)
tree71ba64d0a82be4894e23f6d65f36b61203ec3875 /contrib/bind/lib/resolv/res_mkupdate.c
parent1385a0dca8f9199ece158336f4c6a9f1e2e03c3e (diff)
downloadFreeBSD-src-ebeabb1ba32f14e308ae9aff9a2a7151265259cf.zip
FreeBSD-src-ebeabb1ba32f14e308ae9aff9a2a7151265259cf.tar.gz
Import of ISC BIND 8.3.1-REL.
Diffstat (limited to 'contrib/bind/lib/resolv/res_mkupdate.c')
-rw-r--r--contrib/bind/lib/resolv/res_mkupdate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/bind/lib/resolv/res_mkupdate.c b/contrib/bind/lib/resolv/res_mkupdate.c
index ecf66dd..6071360 100644
--- a/contrib/bind/lib/resolv/res_mkupdate.c
+++ b/contrib/bind/lib/resolv/res_mkupdate.c
@@ -21,7 +21,7 @@
*/
#if !defined(lint) && !defined(SABER)
-static const char rcsid[] = "$Id: res_mkupdate.c,v 1.25 2000/11/22 01:20:46 marka Exp $";
+static const char rcsid[] = "$Id: res_mkupdate.c,v 1.26 2001/05/29 05:49:47 marka Exp $";
#endif /* not lint */
#include "port_before.h"
@@ -328,7 +328,7 @@ res_nmkupdate(res_state statp, ns_updrec *rrecp_in, u_char *buf, int buflen) {
break;
case T_WKS: {
char bm[MAXPORT/8];
- int maxbm = 0;
+ unsigned int maxbm = 0;
if (!getword_str(buf2, sizeof buf2, &startp, endp))
return (-1);
@@ -890,7 +890,7 @@ struct valuelist {
};
static struct valuelist *servicelist, *protolist;
-void
+static void
res_buildservicelist() {
struct servent *sp;
struct valuelist *slp;
@@ -936,7 +936,7 @@ res_destroyservicelist() {
}
void
-res_buildprotolist() {
+res_buildprotolist(void) {
struct protoent *pp;
struct valuelist *slp;
@@ -965,7 +965,7 @@ res_buildprotolist() {
}
void
-res_destroyprotolist() {
+res_destroyprotolist(void) {
struct valuelist *plp, *plp_next;
for (plp = protolist; plp != NULL; plp = plp_next) {
OpenPOWER on IntegriCloud