summaryrefslogtreecommitdiffstats
path: root/intl/plural-exp.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-11-29 13:17:48 +0000
committerBruno Haible <bruno@clisp.org>2009-06-21 23:28:20 +0200
commit46e510e8532ef3f902244838ea50e4ef7621cf10 (patch)
tree1c31e1572c839b394f85efc078000f4dd9e910e0 /intl/plural-exp.c
parent3c203aa7b8b6fb4f0126d2a2e24c667aca58ee85 (diff)
downloadexternal_gettext-46e510e8532ef3f902244838ea50e4ef7621cf10.zip
external_gettext-46e510e8532ef3f902244838ea50e4ef7621cf10.tar.gz
external_gettext-46e510e8532ef3f902244838ea50e4ef7621cf10.tar.bz2
Merge with glibc: rename germanic_plural.
Diffstat (limited to 'intl/plural-exp.c')
-rw-r--r--intl/plural-exp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/intl/plural-exp.c b/intl/plural-exp.c
index 0648299..c937c01 100644
--- a/intl/plural-exp.c
+++ b/intl/plural-exp.c
@@ -46,7 +46,7 @@ static const struct expression plone =
.num = 1
}
};
-static struct expression germanic_plural =
+struct expression GERMANIC_PLURAL =
{
.nargs = 2,
.operation = not_equal,
@@ -69,7 +69,7 @@ static struct expression germanic_plural =
static struct expression plvar;
static struct expression plone;
-static struct expression germanic_plural;
+struct expression GERMANIC_PLURAL;
static void
init_germanic_plural ()
@@ -83,10 +83,10 @@ init_germanic_plural ()
plone.operation = num;
plone.val.num = 1;
- germanic_plural.nargs = 2;
- germanic_plural.operation = not_equal;
- germanic_plural.val.args[0] = &plvar;
- germanic_plural.val.args[1] = &plone;
+ GERMANIC_PLURAL.nargs = 2;
+ GERMANIC_PLURAL.operation = not_equal;
+ GERMANIC_PLURAL.val.args[0] = &plvar;
+ GERMANIC_PLURAL.val.args[1] = &plone;
}
}
@@ -150,7 +150,7 @@ EXTRACT_PLURAL_EXPRESSION (nullentry, pluralp, npluralsp)
English is using since English is a Germanic language. */
no_plural:
INIT_GERMANIC_PLURAL ();
- *pluralp = &germanic_plural;
+ *pluralp = &GERMANIC_PLURAL;
*npluralsp = 2;
}
}