Browse Source

Oops. Too much 'KNF'. We don't use NULL_xdrproc_t, but someone might

use it in a vararg function call that needs the type info.
Pointed out by otto@.
OPENBSD_3_7
krw 20 years ago
parent
commit
31239d2ae1
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.8 2005/01/08 19:17:39 krw Exp $ */
/* $OpenBSD: xdr.h,v 1.9 2005/01/08 19:47:38 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 NULL
#define NULL_xdrproc_t ((xdrproc_t)0)
struct xdr_discrim {
int value;
xdrproc_t proc;


Loading…
Cancel
Save