summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socketcall.c
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2001-07-22 13:55:23 +0000
committerjdolecek <jdolecek@NetBSD.org>2001-07-22 13:55:23 +0000
commit718eee78114540dc370e79f349a7c94bd865c73b (patch)
tree2c0f6d8e19c16950d56656435bfc655c1d00ca7d /sys/compat/linux/common/linux_socketcall.c
parent85fbcb3c05db7c2bb0fc763d1542a00f8516b0e5 (diff)
make linux_socketcall_argsize[] static const
Diffstat (limited to 'sys/compat/linux/common/linux_socketcall.c')
-rw-r--r--sys/compat/linux/common/linux_socketcall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_socketcall.c b/sys/compat/linux/common/linux_socketcall.c
index 2992b28d162..52b6a5710e9 100644
--- a/sys/compat/linux/common/linux_socketcall.c
+++ b/sys/compat/linux/common/linux_socketcall.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_socketcall.c,v 1.21 2001/07/04 10:09:24 jdolecek Exp $ */
+/* $NetBSD: linux_socketcall.c,v 1.22 2001/07/22 13:55:23 jdolecek Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
*/
/* The sizes of the arguments. Used for copyin. */
-int linux_socketcall_argsize[LINUX_MAX_SOCKETCALL+1] = {
+static const int linux_socketcall_argsize[LINUX_MAX_SOCKETCALL+1] = {
-1,
sizeof(struct linux_sys_socket_args), /* 1 */
sizeof(struct linux_sys_bind_args),