diff options
| author | Nathan Keynes <Nathan.Keynes@Sun.COM> | 2009-04-30 16:35:44 -0700 |
|---|---|---|
| committer | Nathan Keynes <Nathan.Keynes@Sun.COM> | 2009-04-30 16:35:44 -0700 |
| commit | 8883f1c270cc8e33c18dd088e744840092b47bbb (patch) | |
| tree | 8158374df4c6ad96b23aae3de2c235943f3dcc7a /usr/src/uts/common/rpc | |
| parent | 2d2627043e43d2539979aab3fb55dafd776970e6 (diff) | |
| download | illumos-joyent-8883f1c270cc8e33c18dd088e744840092b47bbb.tar.gz | |
6795209 Enable compilation of ON-consolidation with GCC 4.2
6392640 rpcgen -h -T output does not compile with gcc 4.x
Diffstat (limited to 'usr/src/uts/common/rpc')
| -rw-r--r-- | usr/src/uts/common/rpc/rpcmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/rpc/rpcmod.c b/usr/src/uts/common/rpc/rpcmod.c index e3576c99d4..97b9c2a805 100644 --- a/usr/src/uts/common/rpc/rpcmod.c +++ b/usr/src/uts/common/rpc/rpcmod.c @@ -562,6 +562,7 @@ rmm_close(queue_t *q, int flag, cred_t *crp) return ((*((struct temp_slot *)q->q_ptr)->ops->xo_close)(q, flag, crp)); } +static void rpcmod_release(queue_t *, mblk_t *); /* * rpcmodopen - open routine gets called when the module gets pushed * onto the stream. @@ -573,7 +574,6 @@ rpcmodopen(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *crp) struct rpcm *rmp; extern void (*rpc_rele)(queue_t *, mblk_t *); - static void rpcmod_release(queue_t *, mblk_t *); TRACE_0(TR_FAC_KRPC, TR_RPCMODOPEN_START, "rpcmodopen_start:"); |
