From 0c38099309012481034b026468fd6790b93121bf Mon Sep 17 00:00:00 2001 From: mycroft Date: Sun, 26 Jul 1998 11:45:21 +0000 Subject: [PATCH] const poisoning. --- include/rpc/clnt.h | 4 ++-- include/rpc/svc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h index 0a11b47a927f..f30fc2cc0789 100644 --- a/include/rpc/clnt.h +++ b/include/rpc/clnt.h @@ -1,4 +1,4 @@ -/* $NetBSD: clnt.h,v 1.11 1998/02/13 04:36:13 lukem Exp $ */ +/* $NetBSD: clnt.h,v 1.12 1998/07/26 11:45:21 mycroft Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -117,7 +117,7 @@ struct rpc_err { */ typedef struct __rpc_client { AUTH *cl_auth; /* authenticator */ - struct clnt_ops { + const struct clnt_ops { /* call remote procedure */ enum clnt_stat (*cl_call) __P((struct __rpc_client *, u_long, xdrproc_t, caddr_t, xdrproc_t, diff --git a/include/rpc/svc.h b/include/rpc/svc.h index ae2713694c1f..de8df7adf9ca 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -1,4 +1,4 @@ -/* $NetBSD: svc.h,v 1.13 1998/02/11 23:01:27 lukem Exp $ */ +/* $NetBSD: svc.h,v 1.14 1998/07/26 11:45:21 mycroft Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -76,7 +76,7 @@ enum xprt_stat { typedef struct __rpc_svcxprt { int xp_sock; u_short xp_port; /* associated port number */ - struct xp_ops { + const struct xp_ops { /* receive incomming requests */ bool_t (*xp_recv) __P((struct __rpc_svcxprt *, struct rpc_msg *));