Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/dosboot Remove dead code.
details: https://anonhg.NetBSD.org/src/rev/606f27fe32f1
branches: trunk
changeset: 999042:606f27fe32f1
user: maxv <maxv%NetBSD.org@localhost>
date: Mon May 13 17:50:30 2019 +0000
description:
Remove dead code.
diffstat:
sys/arch/i386/stand/dosboot/main.c | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
diffs (47 lines):
diff -r 35077ec2e877 -r 606f27fe32f1 sys/arch/i386/stand/dosboot/main.c
--- a/sys/arch/i386/stand/dosboot/main.c Mon May 13 17:49:05 2019 +0000
+++ b/sys/arch/i386/stand/dosboot/main.c Mon May 13 17:50:30 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.32 2014/03/26 17:58:57 christos Exp $ */
+/* $NetBSD: main.c,v 1.33 2019/05/13 17:50:30 maxv Exp $ */
/*
* Copyright (c) 1996, 1997
@@ -44,10 +44,6 @@
#include <libi386.h>
-#ifdef SUPPORT_LYNX
-extern int exec_lynx(const char*, int);
-#endif
-
int errno;
extern char bootprog_name[], bootprog_rev[], bootprog_kernrev[];
@@ -184,26 +180,11 @@
printf(" (howto 0x%x)", howto);
printf("\n");
}
-#ifdef SUPPORT_LYNX
- if(exec_netbsd(filename, 0, howto, floppy, NULL) < 0)
- printf("boot netbsd: %s: %s\n", sprint_bootsel(filename),
- strerror(errno));
- else {
- printf("boot netbsd returned\n");
- return;
- }
- if (exec_lynx(filename, 0) < 0)
- printf("boot lynx: %s: %s\n", sprint_bootsel(filename),
- strerror(errno));
- else
- printf("boot lynx returned\n");
-#else
if (exec_netbsd(filename, 0, howto, floppy, NULL) < 0)
printf("boot: %s: %s\n", sprint_bootsel(filename),
strerror(errno));
else
printf("boot returned\n");
-#endif
}
static void
Home |
Main Index |
Thread Index |
Old Index