aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/head/libintl.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-08-22 22:13:36 +0000
committerXin LI <delphij@FreeBSD.org>2014-08-22 22:13:36 +0000
commitfa4484104cbbfaa9705492ee22426c46c46ac182 (patch)
tree7f14183867d68b27aa9be479a4002303c12cce37 /cddl/contrib/opensolaris/head/libintl.h
parent4ddb46f694a0db537f093297b7d00b46181aa00e (diff)
parenta04032b50f086d6a47f8e444b721a52d737d2217 (diff)
downloadsrc-fa4484104cbbfaa9705492ee22426c46c46ac182.tar.gz
src-fa4484104cbbfaa9705492ee22426c46c46ac182.zip
MFV r270197:
Illumos issue: 5066 remove support for non-ANSI compilation 5068 Remove SCCSID() macro from <macros.h> MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=270382
Diffstat (limited to 'cddl/contrib/opensolaris/head/libintl.h')
-rw-r--r--cddl/contrib/opensolaris/head/libintl.h32
1 files changed, 2 insertions, 30 deletions
diff --git a/cddl/contrib/opensolaris/head/libintl.h b/cddl/contrib/opensolaris/head/libintl.h
index e649668e1225..262fa89a1722 100644
--- a/cddl/contrib/opensolaris/head/libintl.h
+++ b/cddl/contrib/opensolaris/head/libintl.h
@@ -19,6 +19,8 @@
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -27,8 +29,6 @@
#ifndef _LIBINTL_H
#define _LIBINTL_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/isa_defs.h>
#ifdef __cplusplus
@@ -64,7 +64,6 @@ typedef long wchar_t;
#define __GNU_GETTEXT_SUPPORTED_REVISION(m) \
((((m) == 0) || ((m) == 1)) ? 1 : -1)
-#ifdef __STDC__
extern char *dcgettext(const char *, const char *, const int);
extern char *dgettext(const char *, const char *);
extern char *gettext(const char *);
@@ -91,33 +90,6 @@ extern wchar_t *wddelim(wchar_t, wchar_t, int);
extern wchar_t mcfiller(void);
extern int mcwrap(void);
-#else
-extern char *dcgettext();
-extern char *dgettext();
-extern char *gettext();
-extern char *textdomain();
-extern char *bindtextdomain();
-
-/*
- * LI18NUX 2000 Globalization Specification Version 1.0
- * with Amendment 2
- */
-extern char *dcngettext();
-extern char *dngettext();
-extern char *ngettext();
-extern char *bind_textdomain_codeset();
-
-/* Word handling functions --- requires dynamic linking */
-/* Warning: these are experimental and subject to change. */
-extern int wdinit();
-extern int wdchkind();
-extern int wdbindf();
-extern wchar_t *wddelim();
-extern wchar_t mcfiller();
-extern int mcwrap();
-
-#endif
-
#ifdef __cplusplus
}
#endif