diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-27 23:08:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-27 23:08:43 +0000 |
commit | 2cf121a44998623fdc3e5cd6a5347635d5d887af (patch) | |
tree | f951f58bb6864bef0219677dc7cdde8e9b06c690 /usr.sbin/config | |
parent | 8c57c6f3e462ccdc6f1a66db8263d98b39c3ef0e (diff) |
bye bye
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/Makefile.boot | 49 | ||||
-rw-r--r-- | usr.sbin/config/strerror.c | 19 |
2 files changed, 0 insertions, 68 deletions
diff --git a/usr.sbin/config/Makefile.boot b/usr.sbin/config/Makefile.boot deleted file mode 100644 index d302704e76f..00000000000 --- a/usr.sbin/config/Makefile.boot +++ /dev/null @@ -1,49 +0,0 @@ -# $OpenBSD: Makefile.boot,v 1.3 1999/02/24 20:14:55 art Exp $ -# -# a very simple makefile... -# -# You only want to use this if you aren't running OpenBSD. -# -CC=gcc -O -CFLAGS= -I. -DMAKE_BOOTSTRAP - -# Uncomment this if your system does not have strtoul (i.e. SunOS) -STRTOUL= -Dstrtoul=strtol - -# Note: The scanner here uses features specific to "flex" so -# do not bother even trying to make lex build the scanner. -# If you do not have flex, the source can be found in: -# src/usr.bin/lex (See Makefile.boot) -LEX=flex -l - -YACC=yacc - -OBJS= files.o hash.o main.o mkheaders.o mkioconf.o mkmakefile.o \ - mkswap.o pack.o sem.o util.o y.tab.o lex.yy.o strerror.o - -config: ${OBJS} - ${CC} -o $@ ${OBJS} - -y.tab.o : y.tab.c - ${CC} ${CFLAGS} -c y.tab.c - -y.tab.c y.tab.h : gram.y - ${YACC} -d gram.y - -lex.yy.o : lex.yy.c - ${CC} ${CFLAGS} ${STRTOUL} -c lex.yy.c - -lex.yy.c : scan.l - ${LEX} scan.l - -${OBJS} : config.h - -y.tab.o mkmakefile.o mkswap.o sem.o : sem.h -lex.yy.o : y.tab.h - -.c.o: - ${CC} ${CFLAGS} -c $< - -clean: - rm -f *.o config lex.yy.c y.tab.[ch] - diff --git a/usr.sbin/config/strerror.c b/usr.sbin/config/strerror.c deleted file mode 100644 index 72cf0d6fbef..00000000000 --- a/usr.sbin/config/strerror.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * strerror() - for those systems that don't have it yet. - */ - -/* These are part of the C library. (See perror.3) */ -extern char *sys_errlist[]; -extern int sys_nerr; - -static char errmsg[80]; - -char *strerror(en) - int en; -{ - if ((0 <= en) && (en < sys_nerr)) - return sys_errlist[en]; - - snprintf(errmsg, sizeof errmsg, "Error %d", en); - return errmsg; -} |