into fewer files that don't need them.
ok deraadt@
-/* $OpenBSD: ___runetype_mb.c,v 1.3 2017/09/05 03:16:13 schwarze Exp $ */
+/* $OpenBSD: ___runetype_mb.c,v 1.4 2024/08/18 02:22:29 guenther Exp $ */
/* $NetBSD: ___runetype_mb.c,v 1.10 2005/02/10 19:19:57 tnozaki Exp $ */
/*-
*/
#include <wctype.h>
-#include "rune.h"
+#include "runetype.h"
#include "rune_local.h"
_RuneType
-/* $OpenBSD: _wctrans.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
+/* $OpenBSD: _wctrans.c,v 1.3 2024/08/18 02:22:29 guenther Exp $ */
/* $NetBSD: _wctrans.c,v 1.6 2005/02/10 19:19:57 tnozaki Exp $ */
/*-
#include <wctype.h>
#include <stdlib.h>
#include <string.h>
-#include "rune.h"
-#include "rune_local.h"
+#include "runetype.h"
#include "_wctrans_local.h"
/*
-/* $OpenBSD: rune.c,v 1.10 2022/07/27 20:00:11 guenther Exp $ */
+/* $OpenBSD: rune.c,v 1.11 2024/08/18 02:22:29 guenther Exp $ */
/* $NetBSD: rune.c,v 1.26 2004/05/09 11:26:33 kleink Exp $ */
/*-
#include <sys/stat.h>
#include <assert.h>
#include <errno.h>
+#include <locale.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
-#include "rune.h"
+#include "runetype.h"
#include "rune_local.h"
#define SAFE_ADD(x, y) \
-/* $OpenBSD: rune.h,v 1.5 2024/02/04 12:46:01 jca Exp $ */
+/* $OpenBSD: rune.h,v 1.6 2024/08/18 02:22:29 guenther Exp $ */
/* $NetBSD: rune.h,v 1.9 2003/08/07 16:43:04 agc Exp $ */
/*-
#define _RUNE_H_
#include <locale.h>
-#include <stdio.h>
-#include <wchar.h>
#include "runetype.h"
#define _LOCALE_NONE (locale_t)0
-/* $OpenBSD: rune_local.h,v 1.8 2022/07/27 20:00:11 guenther Exp $ */
+/* $OpenBSD: rune_local.h,v 1.9 2024/08/18 02:22:29 guenther Exp $ */
/* $NetBSD: rune_local.h,v 1.7 2003/03/02 22:18:15 tshiozak Exp $ */
/*-
#ifndef _RUNE_LOCAL_H_
#define _RUNE_LOCAL_H_
+#include <stdio.h>
+#include <wchar.h>
+
__BEGIN_HIDDEN_DECLS
/* rune.c */
#include <assert.h>
#include <wchar.h>
#include "rune.h"
-#include "rune_local.h"
#include "citrus_ctype.h"
_RuneLocale _DefaultRuneLocale = {
-/* $OpenBSD: wctype.c,v 1.2 2024/02/04 12:46:01 jca Exp $ */
+/* $OpenBSD: wctype.c,v 1.3 2024/08/18 02:22:29 guenther Exp $ */
/* $NetBSD: iswctype.c,v 1.15 2005/02/09 21:35:46 kleink Exp $ */
/*
#include <wchar.h>
#include <wctype.h>
#include <string.h>
-#include "rune.h"
#include "runetype.h"
static struct _WCTypeEntry wctype_entries[_WCTYPE_NINDEXES] =