diff options
| author | christos <christos@NetBSD.org> | 2005-05-29 22:08:16 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-05-29 22:08:16 +0000 |
| commit | fb4b40b7e88f729bb1ceefb180c21d3ac2be1daf (patch) | |
| tree | 5c76a5462f20c8a6e937d338b4fa61db995de85b /sys/compat/linux/common/linux_socketcall.c | |
| parent | 1473b3a0a174d07386ce91cb2a8df7d3ce64d38c (diff) | |
- sprinkle const.
- add XXXUNCONST to the emul_find() pbuf argument free'ing. XXX: this needs
an api change.
- avoid variable shadowing.
Diffstat (limited to 'sys/compat/linux/common/linux_socketcall.c')
| -rw-r--r-- | sys/compat/linux/common/linux_socketcall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_socketcall.c b/sys/compat/linux/common/linux_socketcall.c index 883e196f290..d5f7fe55ba7 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.28 2005/05/03 16:26:30 manu Exp $ */ +/* $NetBSD: linux_socketcall.c,v 1.29 2005/05/29 22:08:16 christos Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_socketcall.c,v 1.28 2005/05/03 16:26:30 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_socketcall.c,v 1.29 2005/05/29 22:08:16 christos Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -91,7 +91,7 @@ __KERNEL_RCSID(0, "$NetBSD: linux_socketcall.c,v 1.28 2005/05/03 16:26:30 manu E /* The sizes of the arguments. Used for copyin. */ static const struct { - char *name; + const char *name; int argsize; } linux_socketcall[LINUX_MAX_SOCKETCALL+1] = { {"invalid", -1}, /* 0 */ |
