summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/plural-count.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-10-20 18:59:01 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:20 +0200
commit3e85da441657704a8745147aabffd9fca8834d27 (patch)
treede8edf89612399ef7e57b32a33c3efa502e49307 /gettext-tools/src/plural-count.c
parentc2dc0b5ff33291b6e99f20a162b5ec04404c880f (diff)
downloadexternal_gettext-3e85da441657704a8745147aabffd9fca8834d27.zip
external_gettext-3e85da441657704a8745147aabffd9fca8834d27.tar.gz
external_gettext-3e85da441657704a8745147aabffd9fca8834d27.tar.bz2
Adapt to changed prototype of extract_plural_expression.
Diffstat (limited to 'gettext-tools/src/plural-count.c')
-rw-r--r--gettext-tools/src/plural-count.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-tools/src/plural-count.c b/gettext-tools/src/plural-count.c
index 440a65e..3fd8838 100644
--- a/gettext-tools/src/plural-count.c
+++ b/gettext-tools/src/plural-count.c
@@ -1,5 +1,5 @@
/* Plural form count.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2007 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software: you can redistribute it and/or modify
@@ -29,7 +29,7 @@
unsigned long int
get_plural_count (const char *header)
{
- struct expression *plural;
+ const struct expression *plural;
unsigned long int nplurals;
extract_plural_expression (header, &plural, &nplurals);