summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/getrpcent.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-20 15:25:51 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-20 15:25:51 +0000
commit3fa5621448d11fbe8ad3bbb80e3daa7cb9c943f9 (patch)
treecd4513f75239c6da650554923898165220ff5d07 /libc/inet/rpc/getrpcent.c
parent7dd438230613f3a29babf22543ee9ed89b8828d1 (diff)
Deal with a few data fields which may be made constant.
text data bss dec hex filename - 1237 9 28 1274 4fa libc/inet/rpc/getrpcent.os + 1246 0 28 1274 4fa libc/inet/rpc/getrpcent.os - 773 24 0 797 31d libc/misc/time/_time_localtime_tzi.os + 772 16 0 788 314 libc/misc/time/_time_localtime_tzi.os
Diffstat (limited to 'libc/inet/rpc/getrpcent.c')
-rw-r--r--libc/inet/rpc/getrpcent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/getrpcent.c b/libc/inet/rpc/getrpcent.c
index 2a98544f1..7ba4e65c5 100644
--- a/libc/inet/rpc/getrpcent.c
+++ b/libc/inet/rpc/getrpcent.c
@@ -70,7 +70,7 @@ static struct rpcdata {
char *domain;
} *rpcdata;
-static char RPCDB[] = "/etc/rpc";
+static const char RPCDB[] = "/etc/rpc";
static struct rpcdata *_rpcdata(void)
{