Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/sys Sprinkle __inline to compat_100___kevent50_{f...
details: https://anonhg.NetBSD.org/src/rev/5be5c2b32127
branches: trunk
changeset: 378310:5be5c2b32127
user: rin <rin%NetBSD.org@localhost>
date: Sat Jul 29 11:58:53 2023 +0000
description:
Sprinkle __inline to compat_100___kevent50_{fetch_changes,put_events}
diffstat:
sys/compat/sys/event.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c3ee3432b7fa -r 5be5c2b32127 sys/compat/sys/event.h
--- a/sys/compat/sys/event.h Sat Jul 29 11:03:18 2023 +0000
+++ b/sys/compat/sys/event.h Sat Jul 29 11:58:53 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: event.h,v 1.3 2023/07/28 18:19:01 christos Exp $ */
+/* $NetBSD: event.h,v 1.4 2023/07/29 11:58:53 rin Exp $ */
/*-
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon%FreeBSD.org@localhost>
@@ -63,7 +63,7 @@ kevent_to_kevent100(const struct kevent
}
#ifdef _KERNEL
-static int
+static __inline int
compat_100___kevent50_fetch_changes(void *ctx, const struct kevent *changelist,
struct kevent *changes, size_t index, int n)
{
@@ -88,7 +88,7 @@ leave:
return error;
}
-static int
+static __inline int
compat_100___kevent50_put_events(void *ctx, struct kevent *events,
struct kevent *eventlist, size_t index, int n)
{
Home |
Main Index |
Thread Index |
Old Index