From 7a10a08ef4fc75591b21e881e2d3c65c621f63ab Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 1 Dec 2008 10:33:19 +0000 Subject: constify more data text+data text+rodata rwdata bss filename - 2534 2510 24 0 libc/inet/rpc/clnt_udp.o + 2534 2534 0 0 libc/inet/rpc/clnt_udp.o - 1904 1880 24 0 libc/inet/rpc/clnt_tcp.o + 1904 1904 0 0 libc/inet/rpc/clnt_tcp.o - 770 746 24 4 libc/inet/rpc/clnt_raw.o + 770 770 0 4 libc/inet/rpc/clnt_raw.o --- libc/inet/rpc/clnt_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/inet/rpc/clnt_udp.c') diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c index 84eb5ed10..e7e816c39 100644 --- a/libc/inet/rpc/clnt_udp.c +++ b/libc/inet/rpc/clnt_udp.c @@ -98,7 +98,7 @@ static bool_t clntudp_freeres (CLIENT *, xdrproc_t, caddr_t); static bool_t clntudp_control (CLIENT *, int, char *); static void clntudp_destroy (CLIENT *); -static struct clnt_ops udp_ops = +static const struct clnt_ops udp_ops = { clntudp_call, clntudp_abort, -- cgit v1.2.3