~ubuntu-branches/ubuntu/maverick/texinfo/maverick

« back to all changes in this revision

Viewing changes to intl/dcgettext.c

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2005-10-28 15:10:30 UTC
  • mto: (2.1.1 dapper) (3.1.4 hardy)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051028151030-9nsf2s2k2z3fktjt
Tags: upstream-4.8
ImportĀ upstreamĀ versionĀ 4.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Implementation of the dcgettext(3) function.
2
 
   Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
 
2
   Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software; you can redistribute it and/or modify it
5
5
   under the terms of the GNU Library General Public License as published
37
37
# define DCGETTEXT __dcgettext
38
38
# define DCIGETTEXT __dcigettext
39
39
#else
40
 
# define DCGETTEXT dcgettext__
41
 
# define DCIGETTEXT dcigettext__
 
40
# define DCGETTEXT libintl_dcgettext
 
41
# define DCIGETTEXT libintl_dcigettext
42
42
#endif
43
43
 
44
44
/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
45
45
   locale.  */
46
46
char *
47
 
DCGETTEXT (domainname, msgid, category)
48
 
     const char *domainname;
49
 
     const char *msgid;
50
 
     int category;
 
47
DCGETTEXT (const char *domainname, const char *msgid, int category)
51
48
{
52
49
  return DCIGETTEXT (domainname, msgid, NULL, 0, 0, category);
53
50
}
54
51
 
55
52
#ifdef _LIBC
56
53
/* Alias for function name in GNU C Library.  */
 
54
INTDEF(__dcgettext)
57
55
weak_alias (__dcgettext, dcgettext);
58
56
#endif