summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/intl/intl-compat.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-10-16 10:54:18 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:03 +0200
commit93f7f8a0eee7fbc94f116587e1dcc95a8849adb3 (patch)
treeef56022ed1bde6c37361dfca3f65f9d8801f6f38 /gettext-runtime/intl/intl-compat.c
parent8baec33a32c22b01755b900f30d82e8a885f2cb4 (diff)
downloadexternal_gettext-93f7f8a0eee7fbc94f116587e1dcc95a8849adb3.zip
external_gettext-93f7f8a0eee7fbc94f116587e1dcc95a8849adb3.tar.gz
external_gettext-93f7f8a0eee7fbc94f116587e1dcc95a8849adb3.tar.bz2
Assume ANSI C.
Diffstat (limited to 'gettext-runtime/intl/intl-compat.c')
-rw-r--r--gettext-runtime/intl/intl-compat.c44
1 files changed, 12 insertions, 32 deletions
diff --git a/gettext-runtime/intl/intl-compat.c b/gettext-runtime/intl/intl-compat.c
index 36b7af0..96f9d95 100644
--- a/gettext-runtime/intl/intl-compat.c
+++ b/gettext-runtime/intl/intl-compat.c
@@ -58,8 +58,7 @@
DLL_EXPORTED
char *
-gettext (msgid)
- const char *msgid;
+gettext (const char *msgid)
{
return libintl_gettext (msgid);
}
@@ -67,9 +66,7 @@ gettext (msgid)
DLL_EXPORTED
char *
-dgettext (domainname, msgid)
- const char *domainname;
- const char *msgid;
+dgettext (const char *domainname, const char *msgid)
{
return libintl_dgettext (domainname, msgid);
}
@@ -77,10 +74,7 @@ dgettext (domainname, msgid)
DLL_EXPORTED
char *
-dcgettext (domainname, msgid, category)
- const char *domainname;
- const char *msgid;
- int category;
+dcgettext (const char *domainname, const char *msgid, int category)
{
return libintl_dcgettext (domainname, msgid, category);
}
@@ -88,10 +82,7 @@ dcgettext (domainname, msgid, category)
DLL_EXPORTED
char *
-ngettext (msgid1, msgid2, n)
- const char *msgid1;
- const char *msgid2;
- unsigned long int n;
+ngettext (const char *msgid1, const char *msgid2, unsigned long int n)
{
return libintl_ngettext (msgid1, msgid2, n);
}
@@ -99,11 +90,8 @@ ngettext (msgid1, msgid2, n)
DLL_EXPORTED
char *
-dngettext (domainname, msgid1, msgid2, n)
- const char *domainname;
- const char *msgid1;
- const char *msgid2;
- unsigned long int n;
+dngettext (const char *domainname,
+ const char *msgid1, const char *msgid2, unsigned long int n)
{
return libintl_dngettext (domainname, msgid1, msgid2, n);
}
@@ -111,12 +99,9 @@ dngettext (domainname, msgid1, msgid2, n)
DLL_EXPORTED
char *
-dcngettext (domainname, msgid1, msgid2, n, category)
- const char *domainname;
- const char *msgid1;
- const char *msgid2;
- unsigned long int n;
- int category;
+dcngettext (const char *domainname,
+ const char *msgid1, const char *msgid2, unsigned long int n,
+ int category)
{
return libintl_dcngettext (domainname, msgid1, msgid2, n, category);
}
@@ -124,8 +109,7 @@ dcngettext (domainname, msgid1, msgid2, n, category)
DLL_EXPORTED
char *
-textdomain (domainname)
- const char *domainname;
+textdomain (const char *domainname)
{
return libintl_textdomain (domainname);
}
@@ -133,9 +117,7 @@ textdomain (domainname)
DLL_EXPORTED
char *
-bindtextdomain (domainname, dirname)
- const char *domainname;
- const char *dirname;
+bindtextdomain (const char *domainname, const char *dirname)
{
return libintl_bindtextdomain (domainname, dirname);
}
@@ -143,9 +125,7 @@ bindtextdomain (domainname, dirname)
DLL_EXPORTED
char *
-bind_textdomain_codeset (domainname, codeset)
- const char *domainname;
- const char *codeset;
+bind_textdomain_codeset (const char *domainname, const char *codeset)
{
return libintl_bind_textdomain_codeset (domainname, codeset);
}