Module Name: src Committed By: maxv Date: Mon May 13 17:50:30 UTC 2019
Modified Files: src/sys/arch/i386/stand/dosboot: main.c Log Message: Remove dead code. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/i386/stand/dosboot/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/i386/stand/dosboot/main.c diff -u src/sys/arch/i386/stand/dosboot/main.c:1.32 src/sys/arch/i386/stand/dosboot/main.c:1.33 --- src/sys/arch/i386/stand/dosboot/main.c:1.32 Wed Mar 26 17:58:57 2014 +++ src/sys/arch/i386/stand/dosboot/main.c Mon May 13 17:50:30 2019 @@ -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 @@ bootit(const char *filename, int howto, 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