Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/common remove some "inline" from functions ...
details: https://anonhg.NetBSD.org/src/rev/5d04482ed21a
branches: trunk
changeset: 746691:5d04482ed21a
user: drochner <drochner%NetBSD.org@localhost>
date: Tue Aug 18 11:22:09 2009 +0000
description:
remove some "inline" from functions which are defined in a .c file
but used elsewhere -- gcc-4.4.1 doesn't like it and I doubt it
had any effect
diffstat:
sys/compat/linux/common/linux_ipccall.c | 18 +++++++++---------
sys/compat/linux/common/linux_ipccall.h | 16 ++++++++--------
2 files changed, 17 insertions(+), 17 deletions(-)
diffs (125 lines):
diff -r c7150821863e -r 5d04482ed21a sys/compat/linux/common/linux_ipccall.c
--- a/sys/compat/linux/common/linux_ipccall.c Tue Aug 18 11:15:43 2009 +0000
+++ b/sys/compat/linux/common/linux_ipccall.c Tue Aug 18 11:22:09 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ipccall.c,v 1.31 2008/04/28 20:23:43 martin Exp $ */
+/* $NetBSD: linux_ipccall.c,v 1.32 2009/08/18 11:22:09 drochner Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_ipccall.c,v 1.31 2008/04/28 20:23:43 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_ipccall.c,v 1.32 2009/08/18 11:22:09 drochner Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -160,7 +160,7 @@
}
#ifdef SYSVSEM
-inline int
+int
linux_semop(struct lwp *l, const struct linux_sys_ipc_args *uap, register_t *retval)
{
/* {
@@ -179,7 +179,7 @@
return sys_semop(l, &bsa, retval);
}
-inline int
+int
linux_semget(struct lwp *l, const struct linux_sys_ipc_args *uap, register_t *retval)
{
/* {
@@ -202,7 +202,7 @@
#ifdef SYSVMSG
-inline int
+int
linux_msgsnd(struct lwp *l, const struct linux_sys_ipc_args *uap, register_t *retval)
{
struct sys_msgsnd_args bma;
@@ -215,7 +215,7 @@
return sys_msgsnd(l, &bma, retval);
}
-inline int
+int
linux_msgrcv(struct lwp *l, const struct linux_sys_ipc_args *uap, register_t *retval)
{
struct sys_msgrcv_args bma;
@@ -234,7 +234,7 @@
return sys_msgrcv(l, &bma, retval);
}
-inline int
+int
linux_msgget(struct lwp *l, const struct linux_sys_ipc_args *uap, register_t *retval)
{
struct sys_msgget_args bma;
@@ -252,7 +252,7 @@
* shmdt(): this could have been mapped directly, if it wasn't for
* the extra indirection by the linux_ipc system call.
*/
-inline int
+int
linux_shmdt(struct lwp *l, const struct linux_sys_ipc_args *uap, register_t *retval)
{
struct sys_shmdt_args bsa;
@@ -265,7 +265,7 @@
/*
* Same story as shmdt.
*/
-inline int
+int
linux_shmget(struct lwp *l, const struct linux_sys_ipc_args *uap, register_t *retval)
{
struct linux_sys_shmget_args bsa;
diff -r c7150821863e -r 5d04482ed21a sys/compat/linux/common/linux_ipccall.h
--- a/sys/compat/linux/common/linux_ipccall.h Tue Aug 18 11:15:43 2009 +0000
+++ b/sys/compat/linux/common/linux_ipccall.h Tue Aug 18 11:22:09 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ipccall.h,v 1.14 2008/04/28 20:23:43 martin Exp $ */
+/* $NetBSD: linux_ipccall.h,v 1.15 2009/08/18 11:22:09 drochner Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -59,27 +59,27 @@
# ifdef SYSVSEM
-__inline int linux_semop(struct lwp *, const struct linux_sys_ipc_args *,
+int linux_semop(struct lwp *, const struct linux_sys_ipc_args *,
register_t *);
-__inline int linux_semget(struct lwp *, const struct linux_sys_ipc_args *,
+int linux_semget(struct lwp *, const struct linux_sys_ipc_args *,
register_t *);
# endif
# ifdef SYSVMSG
-__inline int linux_msgsnd(struct lwp *, const struct linux_sys_ipc_args *,
+int linux_msgsnd(struct lwp *, const struct linux_sys_ipc_args *,
register_t *);
-__inline int linux_msgrcv(struct lwp *, const struct linux_sys_ipc_args *,
+int linux_msgrcv(struct lwp *, const struct linux_sys_ipc_args *,
register_t *);
-__inline int linux_msgget(struct lwp *, const struct linux_sys_ipc_args *,
+int linux_msgget(struct lwp *, const struct linux_sys_ipc_args *,
register_t *);
# endif
# ifdef SYSVSHM
-__inline int linux_shmdt(struct lwp *, const struct linux_sys_ipc_args *,
+int linux_shmdt(struct lwp *, const struct linux_sys_ipc_args *,
register_t *);
-__inline int linux_shmget(struct lwp *, const struct linux_sys_ipc_args *,
+int linux_shmget(struct lwp *, const struct linux_sys_ipc_args *,
register_t *);
# endif
Home |
Main Index |
Thread Index |
Old Index