summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/write-po.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-12-07 22:01:13 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:56 +0200
commit678fbfb3ef38ec57d9fc85344a2e7f6a310d1fde (patch)
tree608ba8b78c733ce49d6346ff7579c769537b9971 /gettext-tools/src/write-po.c
parent3d8067814c1ea614523a5af58afcb7fa847c7440 (diff)
downloadexternal_gettext-678fbfb3ef38ec57d9fc85344a2e7f6a310d1fde.zip
external_gettext-678fbfb3ef38ec57d9fc85344a2e7f6a310d1fde.tar.gz
external_gettext-678fbfb3ef38ec57d9fc85344a2e7f6a310d1fde.tar.bz2
Use const.
Diffstat (limited to 'gettext-tools/src/write-po.c')
-rw-r--r--gettext-tools/src/write-po.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-tools/src/write-po.c b/gettext-tools/src/write-po.c
index d0acdb1..6f14dce 100644
--- a/gettext-tools/src/write-po.c
+++ b/gettext-tools/src/write-po.c
@@ -321,7 +321,7 @@ message_print_comment_filepos (const message_ty *mp, ostream_t stream,
for (j = 0; j < mp->filepos_count; ++j)
{
lex_pos_ty *pp = &mp->filepos[j];
- char *cp = pp->file_name;
+ const char *cp = pp->file_name;
char *str;
while (cp[0] == '.' && cp[1] == '/')
@@ -349,7 +349,7 @@ message_print_comment_filepos (const message_ty *mp, ostream_t stream,
{
lex_pos_ty *pp;
char buffer[21];
- char *cp;
+ const char *cp;
size_t len;
pp = &mp->filepos[j];