Browse Source

Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. Pointed

out by mickey@, seconded by millert@.
ok deraadt@.
OPENBSD_3_7
krw 20 years ago
parent
commit
1a5cb9c63f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/include/rpc/xdr.h

+ 2
- 2
src/include/rpc/xdr.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: xdr.h,v 1.7 2004/01/22 21:48:02 espie Exp $ */
/* $OpenBSD: xdr.h,v 1.8 2005/01/08 19:17:39 krw Exp $ */
/* $NetBSD: xdr.h,v 1.7 1995/04/29 05:28:06 cgd Exp $ */
/*
@ -198,7 +198,7 @@ typedef bool_t (*xdrproc_t)(/* XDR *, void *, unsigned int */);
* no match, then a default routine may be called.
* If there is no match and no default routine it is an error.
*/
#define NULL_xdrproc_t ((xdrproc_t)0)
#define NULL_xdrproc_t NULL
struct xdr_discrim {
int value;
xdrproc_t proc;


Loading…
Cancel
Save