make linux_socketcall_argsize[] static const
This commit is contained in:
parent
85fbcb3c05
commit
718eee7811
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue