Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun68k/stand/libsa use libsa/saerrno.h instead of o...



details:   https://anonhg.NetBSD.org/src/rev/ec4140b7ed01
branches:  trunk
changeset: 378406:ec4140b7ed01
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Apr 12 09:19:10 2021 +0000

description:
use libsa/saerrno.h instead of our own errno definitions.

diffstat:

 sys/arch/sun68k/stand/libsa/netif_sun.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2a60e6497340 -r ec4140b7ed01 sys/arch/sun68k/stand/libsa/netif_sun.c
--- a/sys/arch/sun68k/stand/libsa/netif_sun.c   Mon Apr 12 09:18:45 2021 +0000
+++ b/sys/arch/sun68k/stand/libsa/netif_sun.c   Mon Apr 12 09:19:10 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netif_sun.c,v 1.10 2013/11/07 00:42:42 christos Exp $  */
+/*     $NetBSD: netif_sun.c,v 1.11 2021/04/12 09:19:10 mrg Exp $       */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -52,6 +52,8 @@
 
 #include <lib/libkern/libkern.h>
 
+#include <lib/libsa/saerrno.h>
+
 #include "libsa.h"
 #include "dvma.h"
 #include "saio.h"
@@ -59,8 +61,6 @@
 
 #define        PKT_BUF_SIZE 2048
 
-int errno;
-
 struct iodesc sockets[SOPEN_MAX];
 
 struct netif prom_netif;



Home | Main Index | Thread Index | Old Index