summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-02-13 07:34:52 +0000
committerBruce Evans <bde@FreeBSD.org>1998-02-13 07:34:52 +0000
commit9d767d027e21dd1f1ee4a10a8bfc5d6e91f8b4b0 (patch)
treef2560fe6d78e7b97e36a4f8ec96d8f8e3f5aa7f9
parent5883bcc9d2838ef2d2989325bce04742cea13b59 (diff)
Notes
-rw-r--r--sys/alpha/linux/linux.h3
-rw-r--r--sys/alpha/linux/linux_sysvec.c4
-rw-r--r--sys/i386/linux/linux.h3
-rw-r--r--sys/i386/linux/linux_sysvec.c4
4 files changed, 6 insertions, 8 deletions
diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h
index 878ffea6207e..5638c4c7b248 100644
--- a/sys/alpha/linux/linux.h
+++ b/sys/alpha/linux/linux.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux.h,v 1.17 1997/10/28 10:49:57 kato Exp $
+ * $Id: linux.h,v 1.19 1997/12/15 06:09:11 msmith Exp $
*/
#ifndef _I386_LINUX_LINUX_H_
@@ -99,7 +99,6 @@ struct linux_sigframe {
void (*sf_handler)(int);
};
-extern int bsd_to_linux_errno[];
extern int bsd_to_linux_signal[];
extern int linux_to_bsd_signal[];
extern char linux_sigcode[];
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c
index ebbe13332a2d..f477964d3b58 100644
--- a/sys/alpha/linux/linux_sysvec.c
+++ b/sys/alpha/linux/linux_sysvec.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_sysvec.c,v 1.24 1998/02/09 06:09:17 eivind Exp $
+ * $Id: linux_sysvec.c,v 1.25 1998/02/11 01:46:50 eivind Exp $
*/
/* XXX we use functions that might not exist. */
@@ -68,7 +68,7 @@ static void linux_sendsig __P((sig_t catcher, int sig, int mask,
/*
* Linux syscalls return negative errno's, we do positive and map them
*/
-int bsd_to_linux_errno[ELAST] = {
+static int bsd_to_linux_errno[ELAST] = {
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9,
-10, -35, -12, -13, -14, -15, -16, -17, -18, -19,
-20, -21, -22, -23, -24, -25, -26, -27, -28, -29,
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h
index 878ffea6207e..5638c4c7b248 100644
--- a/sys/i386/linux/linux.h
+++ b/sys/i386/linux/linux.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux.h,v 1.17 1997/10/28 10:49:57 kato Exp $
+ * $Id: linux.h,v 1.19 1997/12/15 06:09:11 msmith Exp $
*/
#ifndef _I386_LINUX_LINUX_H_
@@ -99,7 +99,6 @@ struct linux_sigframe {
void (*sf_handler)(int);
};
-extern int bsd_to_linux_errno[];
extern int bsd_to_linux_signal[];
extern int linux_to_bsd_signal[];
extern char linux_sigcode[];
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index ebbe13332a2d..f477964d3b58 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_sysvec.c,v 1.24 1998/02/09 06:09:17 eivind Exp $
+ * $Id: linux_sysvec.c,v 1.25 1998/02/11 01:46:50 eivind Exp $
*/
/* XXX we use functions that might not exist. */
@@ -68,7 +68,7 @@ static void linux_sendsig __P((sig_t catcher, int sig, int mask,
/*
* Linux syscalls return negative errno's, we do positive and map them
*/
-int bsd_to_linux_errno[ELAST] = {
+static int bsd_to_linux_errno[ELAST] = {
-0, -1, -2, -3, -4, -5, -6, -7, -8, -9,
-10, -35, -12, -13, -14, -15, -16, -17, -18, -19,
-20, -21, -22, -23, -24, -25, -26, -27, -28, -29,