Module Name: src
Committed By: rin
Date: Sat Jul 29 11:58:53 UTC 2023
Modified Files:
src/sys/compat/sys: event.h
Log Message:
Sprinkle __inline to compat_100___kevent50_{fetch_changes,put_events}
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/sys/event.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/sys/event.h
diff -u src/sys/compat/sys/event.h:1.3 src/sys/compat/sys/event.h:1.4
--- src/sys/compat/sys/event.h:1.3 Fri Jul 28 18:19:01 2023
+++ src/sys/compat/sys/event.h Sat Jul 29 11:58:53 2023
@@ -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 <[email protected]>
@@ -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)
{