Make <runefile.h> internal to libc.

Suggested by:	phantom
This commit is contained in:
Ruslan Ermilov 2005-05-16 09:32:41 +00:00
parent 85efd7165f
commit 228f8c4f8b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146261
6 changed files with 5 additions and 9 deletions

View File

@ -15,7 +15,7 @@ INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \
netdb.h nl_types.h nlist.h nss.h nsswitch.h objformat.h paths.h \
proc_service.h pthread.h \
pthread_np.h pwd.h ranlib.h readpassphrase.h regex.h regexp.h \
resolv.h runefile.h runetype.h search.h setjmp.h sgtty.h \
resolv.h runetype.h search.h setjmp.h sgtty.h \
signal.h stab.h \
stdbool.h stddef.h stdio.h stdlib.h string.h stringlist.h \
strings.h sysexits.h tar.h tgmath.h \

View File

@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include <arpa/inet.h>
#include <errno.h>
#include <runetype.h>
#include <runefile.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@ -52,6 +51,8 @@ __FBSDID("$FreeBSD$");
#include <sys/stat.h>
#include "un-namespace.h"
#include "runefile.h"
_RuneLocale *_Read_RuneMagi(FILE *);
_RuneLocale *

View File

@ -9,11 +9,6 @@ INCS=
BOOTSTRAPPING?= 0
# usr.bin/mklocale needs <runefile.h>.
.if !exists(/usr/include/runefile.h)
INCS+= runefile.h
.endif
# usr.bin/gencat needs <nl_types.h>.
.if ${BOOTSTRAPPING} < 600017
INCS+= nl_types.h

View File

@ -4,6 +4,6 @@
PROG= mklocale
WARNS?= 6
SRCS= yacc.y lex.l y.tab.h
CFLAGS+= -I. -I${.CURDIR}
CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale
.include <bsd.prog.mk>

View File

@ -48,7 +48,6 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <err.h>
#include <runefile.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
@ -57,6 +56,7 @@ __FBSDID("$FreeBSD$");
#include "ldef.h"
#include "extern.h"
#include "runefile.h"
static void *xmalloc(unsigned int sz);
static uint32_t *xlalloc(unsigned int sz);