/* $NetBSD: src/lib/libc/locale/iswctype.c,v 1.14 2003/08/07 16:43:04 agc Exp $ */
-/* $DragonFly: src/lib/libc/locale/iswctype.c,v 1.1 2005/03/16 06:54:41 joerg Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
return((wctrans_t)&rl->rl_wctrans[i]);
}
- return((wctrans_t)NULL);
+ return(NULL);
}
#undef towctrans
if (strcmp(rl->rl_wctype[i].te_name, property) == 0)
return((wctype_t)&rl->rl_wctype[i]);
}
- return((wctype_t)NULL);
+ return(NULL);
}
#undef iswctype
* Mountain View, California 94043
*
* $FreeBSD: src/lib/libc/xdr/xdr_sizeof.c,v 1.5 2003/03/07 13:19:40 nectar Exp $
- * $DragonFly: src/lib/libc/xdr/xdr_sizeof.c,v 1.2 2005/12/05 00:47:57 swildner Exp $
*/
/*
x.x_op = XDR_ENCODE;
x.x_ops = &ops;
x.x_handy = 0;
- x.x_private = (caddr_t) NULL;
+ x.x_private = NULL;
x.x_base = (caddr_t) 0;
stat = func(&x, data);
/* $KAME: sctp_sys_calls.c,v 1.9 2004/08/17 06:08:53 itojun Exp $ */
-/* $DragonFly: src/lib/libsctp/sctp_sys_calls.c,v 1.3 2008/09/30 16:57:05 swildner Exp $ */
/*
* Copyright (C) 2002, 2003, 2004 Cisco Systems Inc,
msg.msg_name = (caddr_t)who;
msg.msg_namelen = who->sa_len;
} else {
- msg.msg_name = (caddr_t)NULL;
+ msg.msg_name = NULL;
msg.msg_namelen = 0;
}
msg.msg_iov = iov;
time_t clk;
struct tm *tm;
- clk = time ( (time_t)NULL );
+ clk = time ( NULL );
tm = localtime ( &clk );
if ( Log && Debug_Level > 1 )
free(rbl);
return (FALSE);
}
- rbl->rpcb_next = (rpcblist_ptr)NULL;
+ rbl->rpcb_next = NULL;
if (list_rbl == NULL) {
list_rbl = rbl;
} else {
rpcbs_rmtcall(versnum - 2, reply_type, a.rmt_prog, a.rmt_vers,
a.rmt_proc, transp->xp_netid, rbl);
- if (rbl == (rpcblist_ptr)NULL) {
+ if (rbl == NULL) {
#ifdef RPCBIND_DEBUG
if (debugging)
fprintf(stderr, "not found\n");
/* $NetBSD: bgd.c,v 1.2 2007/11/09 20:08:40 plunky Exp $ */
-/* $DragonFly: src/usr.sbin/sdpd/bgd.c,v 1.1 2008/01/06 21:51:30 hasso Exp $ */
/*
* bgd.c
bgd_profile_uuids,
sizeof(bgd_profile_uuids),
0,
- (profile_data_valid_p) NULL,
+ NULL,
(attr_t const * const) &bgd_profile_attrs
};
/* $NetBSD: sd.c,v 1.2 2007/11/09 20:08:41 plunky Exp $ */
-/* $DragonFly: src/usr.sbin/sdpd/sd.c,v 1.1 2008/01/06 21:51:30 hasso Exp $ */
/*
* sd.c
sd_profile_uuids,
sizeof(sd_profile_uuids),
0,
- (profile_data_valid_p) NULL,
+ NULL,
(attr_t const * const) &sd_profile_attrs
};
* @(#)from: clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro
* @(#)from: clnt_udp.c 2.2 88/08/01 4.0 RPCSRC
* $FreeBSD: src/usr.sbin/ypbind/yp_ping.c,v 1.17 2008/09/15 14:01:40 dfr Exp $
- * $DragonFly: src/usr.sbin/ypbind/yp_ping.c,v 1.7 2005/11/24 22:23:02 swildner Exp $
*/
/*
memset((char *)&clnt_res, 0, sizeof (clnt_res));
if (clnt_call(clnt, YPPROC_DOMAIN_NONACK,
- (xdrproc_t) NULL, (caddr_t) argp,
+ NULL, (caddr_t) argp,
(xdrproc_t) xdr_bool, (caddr_t) &clnt_res,
TIMEOUT) != RPC_SUCCESS) {
return (NULL);