summaryrefslogtreecommitdiff
path: root/lib/libc/locale/utf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale/utf2.c')
-rw-r--r--lib/libc/locale/utf2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/locale/utf2.c b/lib/libc/locale/utf2.c
index 592b27ba53e2..fa118e2828d8 100644
--- a/lib/libc/locale/utf2.c
+++ b/lib/libc/locale/utf2.c
@@ -34,10 +34,13 @@
* SUCH DAMAGE.
*/
+/* UTF2 is obsolete and will be removed in FreeBSD 6 -- use UTF-8 instead. */
+#define OBSOLETE_IN_6
+
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)utf2.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
-#include <sys/cdefs.h>
+#include <sys/param.h>
__FBSDID("$FreeBSD$");
#include <rune.h>