Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax/stand Don't define errno expliticly, use libsa...



details:   https://anonhg.NetBSD.org/src/rev/e93021e746f1
branches:  trunk
changeset: 467929:e93021e746f1
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Mar 31 07:23:27 1999 +0000

description:
Don't define errno expliticly, use libsa/errno.c in first stage and
${LIBSA} in the second stage.

diffstat:

 sys/arch/pmax/stand/boot/boot.c       |  3 +--
 sys/arch/pmax/stand/scsiboot/Makefile |  4 ++--
 sys/arch/pmax/stand/scsiboot/bootxx.c |  4 +---
 3 files changed, 4 insertions(+), 7 deletions(-)

diffs (53 lines):

diff -r 5b8c78465ead -r e93021e746f1 sys/arch/pmax/stand/boot/boot.c
--- a/sys/arch/pmax/stand/boot/boot.c   Wed Mar 31 06:53:56 1999 +0000
+++ b/sys/arch/pmax/stand/boot/boot.c   Wed Mar 31 07:23:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.3 1999/03/26 05:23:58 simonb Exp $  */
+/*     $NetBSD: boot.c,v 1.4 1999/03/31 07:23:27 simonb Exp $  */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -88,7 +88,6 @@
 #include "byteswap.h"
 #include "loadfile.h"
 
-int    errno;
 extern char bootprog_name[], bootprog_rev[], bootprog_date[], bootprog_maker[];
 
 /*
diff -r 5b8c78465ead -r e93021e746f1 sys/arch/pmax/stand/scsiboot/Makefile
--- a/sys/arch/pmax/stand/scsiboot/Makefile     Wed Mar 31 06:53:56 1999 +0000
+++ b/sys/arch/pmax/stand/scsiboot/Makefile     Wed Mar 31 07:23:27 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 1999/03/31 04:30:11 simonb Exp $
+#      $NetBSD: Makefile,v 1.11 1999/03/31 07:23:28 simonb Exp $
 #      @(#)Makefile    8.3 (Berkeley) 2/16/94
 
 S=     ${.CURDIR}/../../../..
@@ -12,7 +12,7 @@
        strcmp.S strcpy.S strlen.S
 
 # from sys/lib/libsa:
-SRCS+= disklabel.c dkcksum.c lseek.c open.c read.c ufs.c
+SRCS+= disklabel.c dkcksum.c errno.c lseek.c open.c read.c ufs.c
 # from sys/lib/libkern:
 SRCS+= bcmp.c
 CLEANFILES+=${PROG}.aout ${PROG}.map mkboot ${ALL}
diff -r 5b8c78465ead -r e93021e746f1 sys/arch/pmax/stand/scsiboot/bootxx.c
--- a/sys/arch/pmax/stand/scsiboot/bootxx.c     Wed Mar 31 06:53:56 1999 +0000
+++ b/sys/arch/pmax/stand/scsiboot/bootxx.c     Wed Mar 31 07:23:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootxx.c,v 1.15 1999/03/26 05:23:58 simonb Exp $       */
+/*     $NetBSD: bootxx.c,v 1.16 1999/03/31 07:23:28 simonb Exp $       */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -81,8 +81,6 @@
 
 #include "byteswap.h"
 
-int errno;
-
 int loadfile __P((char *name));
 extern int clear_cache __P((char *addr, int len));
 



Home | Main Index | Thread Index | Old Index