Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/stand/libsa No need to have errno in a MD fil...



details:   https://anonhg.NetBSD.org/src/rev/8b89d0b865c0
branches:  trunk
changeset: 339832:8b89d0b865c0
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Aug 12 18:32:48 2015 +0000

description:
No need to have errno in a MD file. It's in MI src/sys/lib/libsa/errno.c.

diffstat:

 sys/arch/atari/stand/libsa/Makefile.inc |   6 +---
 sys/arch/atari/stand/libsa/dev.c        |  36 ---------------------------------
 2 files changed, 2 insertions(+), 40 deletions(-)

diffs (55 lines):

diff -r 11bcd1d2eed9 -r 8b89d0b865c0 sys/arch/atari/stand/libsa/Makefile.inc
--- a/sys/arch/atari/stand/libsa/Makefile.inc   Wed Aug 12 18:28:00 2015 +0000
+++ b/sys/arch/atari/stand/libsa/Makefile.inc   Wed Aug 12 18:32:48 2015 +0000
@@ -1,9 +1,7 @@
-# $NetBSD: Makefile.inc,v 1.2 2011/06/30 20:09:21 wiz Exp $
+# $NetBSD: Makefile.inc,v 1.3 2015/08/12 18:32:48 tsutsui Exp $
 
 .PATH.c: ${SA_EXTRADIR}
 .PATH.S: ${SA_EXTRADIR}
 
-# NetBSD/atari specific replacements: dev.c
-
 # machine dependent routines
-SRCS+=   consio.S dev.c diskio.c
+SRCS+=   consio.S diskio.c
diff -r 11bcd1d2eed9 -r 8b89d0b865c0 sys/arch/atari/stand/libsa/dev.c
--- a/sys/arch/atari/stand/libsa/dev.c  Wed Aug 12 18:28:00 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-/*     $NetBSD: dev.c,v 1.4 2005/12/11 12:17:00 christos Exp $ */
-
-/*-
- * Copyright (c) 1993
- *     The Regents of the University of California.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the University nor the names of its contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- *     @(#)dev.c       8.1 (Berkeley) 6/11/93
- */
-
-#include <lib/libsa/stand.h>
-
-int errno;



Home | Main Index | Thread Index | Old Index