diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-01 10:33:19 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-01 10:33:19 +0000 |
commit | 7a10a08ef4fc75591b21e881e2d3c65c621f63ab (patch) | |
tree | d435a8b3358e90c1fde6a14ba1a70d2b76e508d0 /libc/inet/rpc | |
parent | c09ca83b469460f0214b13a576bd112e823d4a08 (diff) |
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
Diffstat (limited to 'libc/inet/rpc')
-rw-r--r-- | libc/inet/rpc/clnt_raw.c | 2 | ||||
-rw-r--r-- | libc/inet/rpc/clnt_tcp.c | 2 | ||||
-rw-r--r-- | libc/inet/rpc/clnt_udp.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libc/inet/rpc/clnt_raw.c b/libc/inet/rpc/clnt_raw.c index 91340d85a..792796a5f 100644 --- a/libc/inet/rpc/clnt_raw.c +++ b/libc/inet/rpc/clnt_raw.c @@ -84,7 +84,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, diff --git a/libc/inet/rpc/clnt_tcp.c b/libc/inet/rpc/clnt_tcp.c index 622d44552..42bef0793 100644 --- a/libc/inet/rpc/clnt_tcp.c +++ b/libc/inet/rpc/clnt_tcp.c @@ -117,7 +117,7 @@ static bool_t clnttcp_freeres (CLIENT *, xdrproc_t, caddr_t); static bool_t clnttcp_control (CLIENT *, int, char *); static void clnttcp_destroy (CLIENT *); -static struct clnt_ops tcp_ops = +static const struct clnt_ops tcp_ops = { clnttcp_call, clnttcp_abort, 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, |