diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-12-21 04:23:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-12-21 04:23:34 +0000 |
commit | 72005a5d0d6ad50120a4cac83ca9f71af9c4f21b (patch) | |
tree | 63db0321d1538f0427542836662522d4d0ca8b1e /intl | |
parent | e1545188b3fad8a17fd2639cee0848da13c4de33 (diff) | |
download | glibc-72005a5d0d6ad50120a4cac83ca9f71af9c4f21b.tar glibc-72005a5d0d6ad50120a4cac83ca9f71af9c4f21b.tar.gz glibc-72005a5d0d6ad50120a4cac83ca9f71af9c4f21b.tar.bz2 glibc-72005a5d0d6ad50120a4cac83ca9f71af9c4f21b.zip |
* intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.
* intl/plural-exp.h: Adjust declaration of
__gettext_germanic_plural.
Diffstat (limited to 'intl')
-rw-r--r-- | intl/plural-exp.c | 4 | ||||
-rw-r--r-- | intl/plural-exp.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/intl/plural-exp.c b/intl/plural-exp.c index ba5d455cd5..9cb7a4540a 100644 --- a/intl/plural-exp.c +++ b/intl/plural-exp.c @@ -1,5 +1,5 @@ /* Expression parsing for plural form selection. - Copyright (C) 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2005 Free Software Foundation, Inc. Written by Ulrich Drepper <drepper@cygnus.com>, 2000. This file is part of the GNU C Library. @@ -47,7 +47,7 @@ static const struct expression plone = .num = 1 } }; -struct expression GERMANIC_PLURAL = +const struct expression GERMANIC_PLURAL = { .nargs = 2, .operation = not_equal, diff --git a/intl/plural-exp.h b/intl/plural-exp.h index 75c702f79c..f8a5c87ff0 100644 --- a/intl/plural-exp.h +++ b/intl/plural-exp.h @@ -1,5 +1,5 @@ /* Expression parsing and evaluation for plural form selection. - Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2002, 2005 Free Software Foundation, Inc. Written by Ulrich Drepper <drepper@cygnus.com>, 2000. This file is part of the GNU C Library. @@ -113,7 +113,7 @@ struct parse_args extern void FREE_EXPRESSION PARAMS ((struct expression *exp)) internal_function; extern int PLURAL_PARSE PARAMS ((void *arg)); -extern struct expression GERMANIC_PLURAL attribute_hidden; +extern const struct expression GERMANIC_PLURAL attribute_hidden; extern void EXTRACT_PLURAL_EXPRESSION PARAMS ((const char *nullentry, struct expression **pluralp, unsigned long int *npluralsp)) |