summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-13 07:34:52 +0000
committerbde <bde@FreeBSD.org>1998-02-13 07:34:52 +0000
commitf571342745a16cd597792f7274bc3c6486053803 (patch)
tree042ea64c7ca55459abb2871160abe7bca16f7088 /sys/i386
parentb8c473161fd4b5f7bf6e9ce7318f9d2ee81f50b1 (diff)
downloadFreeBSD-src-f571342745a16cd597792f7274bc3c6486053803.zip
FreeBSD-src-f571342745a16cd597792f7274bc3c6486053803.tar.gz
Staticized.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/linux/linux.h3
-rw-r--r--sys/i386/linux/linux_sysvec.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h
index 878ffea..5638c4c 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 ebbe133..f477964 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,
OpenPOWER on IntegriCloud