diff options
author | 2003-06-27 23:08:42 +0000 | |
---|---|---|
committer | 2003-06-27 23:08:42 +0000 | |
commit | aaed5f692567af6f43e9ab083141b2aeb00027be (patch) | |
tree | 910c150ae068c5ec4ef5ca0e8354a4f592703ea4 | |
parent | Add more info on what makes a good login name. (diff) | |
download | wireguard-openbsd-aaed5f692567af6f43e9ab083141b2aeb00027be.tar.xz wireguard-openbsd-aaed5f692567af6f43e9ab083141b2aeb00027be.zip |
bye bye
-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; -} |