about summary refs log tree commit diff
path: root/sunrpc/clnt_raw.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-20 22:00:50 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-20 22:00:50 +0000
commita5abbd3316cbfd222a87802a29a6a70e5eda5e59 (patch)
tree105cb38feaf66fa835d6dca3d125c10aa7c7facc /sunrpc/clnt_raw.c
parenta25e7e9f7285ee88406e0c11901943999f96a041 (diff)
downloadglibc-a5abbd3316cbfd222a87802a29a6a70e5eda5e59.tar.gz
glibc-a5abbd3316cbfd222a87802a29a6a70e5eda5e59.tar.xz
glibc-a5abbd3316cbfd222a87802a29a6a70e5eda5e59.zip
(client_ops): Mark as const.
Diffstat (limited to 'sunrpc/clnt_raw.c')
-rw-r--r--sunrpc/clnt_raw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/clnt_raw.c b/sunrpc/clnt_raw.c
index e8613422a5..019f1bbae0 100644
--- a/sunrpc/clnt_raw.c
+++ b/sunrpc/clnt_raw.c
@@ -74,7 +74,7 @@ static bool_t clntraw_freeres (CLIENT *, xdrproc_t, caddr_t);
 static bool_t clntraw_control (CLIENT *, int, char *);
 static void clntraw_destroy (CLIENT *);
 
-static struct clnt_ops client_ops =
+static const struct clnt_ops client_ops =
 {
   clntraw_call,
   clntraw_abort,
@@ -127,7 +127,7 @@ clntraw_create (u_long prog, u_long vers)
   /*
    * create client handle
    */
-  client->cl_ops = &client_ops;
+  client->cl_ops = (struct clnt_ops *) &client_ops;
   client->cl_auth = INTUSE(authnone_create) ();
   return client;
 }