1 /* intl-compat.c - Stub functions to call gettext functions from GNU gettext
3 Copyright (C) 1995 Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307 USA. */
19 #include "intlconfig.h"
21 #include "libgettext.h"
23 /* @@ end of prolog @@ */
34 bindtextdomain (domainname, dirname)
35 const char *domainname;
38 return bindtextdomain__ (domainname, dirname);
43 dcgettext (domainname, msgid, category)
44 const char *domainname;
48 return dcgettext__ (domainname, msgid, category);
53 dgettext (domainname, msgid)
54 const char *domainname;
57 return dgettext__ (domainname, msgid);
65 return gettext__ (msgid);
70 textdomain (domainname)
71 const char *domainname;
73 return textdomain__ (domainname);