aboutsummaryrefslogtreecommitdiff
path: root/intl/dcigettext.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-06 17:54:58 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-06 17:54:58 +0000
commitb98f4e050f5b470ae131cdd0113757a23f63cb6c (patch)
treeb8c369ccb7f3fcf7738c023eaf226fa7d6aa380f /intl/dcigettext.c
parentbadd9b02da3b6c20047024f8c4839c93035a56f3 (diff)
downloadglibc-b98f4e050f5b470ae131cdd0113757a23f63cb6c.tar
glibc-b98f4e050f5b470ae131cdd0113757a23f63cb6c.tar.gz
glibc-b98f4e050f5b470ae131cdd0113757a23f63cb6c.tar.bz2
glibc-b98f4e050f5b470ae131cdd0113757a23f63cb6c.zip
(DCIGETTEXT): Always define local variable `index'. (mempcpy): Correct typo is parameter list.
Diffstat (limited to 'intl/dcigettext.c')
-rw-r--r--intl/dcigettext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/intl/dcigettext.c b/intl/dcigettext.c
index 92732582f9..75f17072a2 100644
--- a/intl/dcigettext.c
+++ b/intl/dcigettext.c
@@ -535,10 +535,10 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category)
if (domain != NULL)
{
+ unsigned long int index = 0;
#if defined HAVE_TSEARCH || defined _LIBC
struct loaded_domain *domaindata =
(struct loaded_domain *) domain->data;
- unsigned long int index = 0;
if (plural != 0)
{
@@ -1059,7 +1059,7 @@ mempcpy (dest, src, n)
const void *src;
size_t n;
{
- return (void *) ((char *) memcpy (dst, src, n) + n);
+ return (void *) ((char *) memcpy (dest, src, n) + n);
}
#endif