From: Ulrich Drepper Date: Tue, 20 Dec 2005 22:00:50 +0000 (+0000) Subject: (client_ops): Mark as const. X-Git-Tag: upstream/2.30~16073 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5abbd3316cbfd222a87802a29a6a70e5eda5e59;p=external%2Fglibc.git (client_ops): Mark as const. --- diff --git a/sunrpc/clnt_raw.c b/sunrpc/clnt_raw.c index e861342..019f1bb 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; }