Module Name: src
Committed By: mrg
Date: Mon Apr 12 09:19:10 UTC 2021
Modified Files:
src/sys/arch/sun68k/stand/libsa: netif_sun.c
Log Message:
use libsa/saerrno.h instead of our own errno definitions.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/sun68k/stand/libsa/netif_sun.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/sun68k/stand/libsa/netif_sun.c
diff -u src/sys/arch/sun68k/stand/libsa/netif_sun.c:1.10 src/sys/arch/sun68k/stand/libsa/netif_sun.c:1.11
--- src/sys/arch/sun68k/stand/libsa/netif_sun.c:1.10 Thu Nov 7 00:42:42 2013
+++ src/sys/arch/sun68k/stand/libsa/netif_sun.c Mon Apr 12 09:19:10 2021
@@ -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;