Subject: lib/364: has bogus prototype for xdr_u_char
To: None <gnats-admin>
From: None <jtkohl@MIT.EDU>
List: netbsd-bugs
Date: 07/23/1994 21:05:10
>Number:         364
>Category:       lib
>Synopsis:       <xdr/xdr.h> has bogus prototype for xdr_u_char
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 23 21:05:07 1994
>Originator:     John T Kohl
>Organization:
MIT SIPB
>Release:        
>Environment:
	
System: NetBSD lola-granola 1.0-ALPHA NetBSD 1.0-ALPHA (LOLA) #36: Thu Jul 21 23:41:51 EDT 1994 jtkohl@lola-granola:/usr/src/sys/arch/i386/compile/LOLA i386


>Description:
<xdr/xdr.h> has a bogus prototype for xdr_u_char.

>How-To-Repeat:
look at it.

>Fix:
*** 1.1	1994/07/24 03:52:28
--- xdr.h	1994/07/24 03:52:39
***************
*** 240,246 ****
  extern bool_t	xdr_string	__P((XDR *, char **, u_int));
  extern bool_t	xdr_union	__P((XDR *, enum_t *, char *, struct xdr_discrim *, xdrproc_t));
  extern bool_t	xdr_char	__P((XDR *, char *));
! extern bool_t	xdr_u_char	__P((XDR *, char *));
  extern bool_t	xdr_vector	__P((XDR *, char *, u_int, u_int, xdrproc_t));
  extern bool_t	xdr_float	__P((XDR *, float *));
  extern bool_t	xdr_double	__P((XDR *, double *));
--- 240,246 ----
  extern bool_t	xdr_string	__P((XDR *, char **, u_int));
  extern bool_t	xdr_union	__P((XDR *, enum_t *, char *, struct xdr_discrim *, xdrproc_t));
  extern bool_t	xdr_char	__P((XDR *, char *));
! extern bool_t	xdr_u_char	__P((XDR *, u_char *));
  extern bool_t	xdr_vector	__P((XDR *, char *, u_int, u_int, xdrproc_t));
  extern bool_t	xdr_float	__P((XDR *, float *));
  extern bool_t	xdr_double	__P((XDR *, double *));
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------