mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Forward declare more structs that are used in prototypes here - don't
depend on <sys/types.h> forward declaring common ones. Added an underscore to `sin' in prototypes to avoid warnings for the conflict with the ANSI sin().
This commit is contained in:
parent
ffbedc02de
commit
850047383e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32997
@ -1,13 +1,18 @@
|
||||
/* $NetBSD: krpc.h,v 1.4 1995/12/19 23:07:11 cgd Exp $ */
|
||||
/* $Id: krpc.h,v 1.3 1997/06/12 14:03:16 tegge Exp $ */
|
||||
/* $Id: krpc.h,v 1.4 1997/08/16 19:15:52 wollman Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
int krpc_call __P((struct sockaddr_in *sin,
|
||||
struct mbuf;
|
||||
struct proc;
|
||||
struct sockaddr;
|
||||
struct sockaddr_in;
|
||||
|
||||
int krpc_call __P((struct sockaddr_in *_sin,
|
||||
u_int prog, u_int vers, u_int func,
|
||||
struct mbuf **data, struct sockaddr **from, struct proc *procp));
|
||||
|
||||
int krpc_portmap __P((struct sockaddr_in *sin,
|
||||
int krpc_portmap __P((struct sockaddr_in *_sin,
|
||||
u_int prog, u_int vers, u_int16_t *portp,struct proc *procp));
|
||||
|
||||
struct mbuf *xdr_string_encode __P((char *str, int len));
|
||||
|
@ -1,13 +1,18 @@
|
||||
/* $NetBSD: krpc.h,v 1.4 1995/12/19 23:07:11 cgd Exp $ */
|
||||
/* $Id: krpc.h,v 1.3 1997/06/12 14:03:16 tegge Exp $ */
|
||||
/* $Id: krpc.h,v 1.4 1997/08/16 19:15:52 wollman Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
int krpc_call __P((struct sockaddr_in *sin,
|
||||
struct mbuf;
|
||||
struct proc;
|
||||
struct sockaddr;
|
||||
struct sockaddr_in;
|
||||
|
||||
int krpc_call __P((struct sockaddr_in *_sin,
|
||||
u_int prog, u_int vers, u_int func,
|
||||
struct mbuf **data, struct sockaddr **from, struct proc *procp));
|
||||
|
||||
int krpc_portmap __P((struct sockaddr_in *sin,
|
||||
int krpc_portmap __P((struct sockaddr_in *_sin,
|
||||
u_int prog, u_int vers, u_int16_t *portp,struct proc *procp));
|
||||
|
||||
struct mbuf *xdr_string_encode __P((char *str, int len));
|
||||
|
Loading…
Reference in New Issue
Block a user