Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/compat/sys libc: Warn of __kevent50 when itself (no...
details: https://anonhg.NetBSD.org/src/rev/b49be486f791
branches: trunk
changeset: 378283:b49be486f791
user: rin <rin%NetBSD.org@localhost>
date: Sat Jul 29 10:01:24 2023 +0000
description:
libc: Warn of __kevent50 when itself (not kevent) is referenced
diffstat:
lib/libc/compat/sys/compat_kevent.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r eb7df6093d7c -r b49be486f791 lib/libc/compat/sys/compat_kevent.c
--- a/lib/libc/compat/sys/compat_kevent.c Sat Jul 29 08:46:58 2023 +0000
+++ b/lib/libc/compat/sys/compat_kevent.c Sat Jul 29 10:01:24 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_kevent.c,v 1.3 2023/07/28 18:19:00 christos Exp $ */
+/* $NetBSD: compat_kevent.c,v 1.4 2023/07/29 10:01:24 rin Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: compat_kevent.c,v 1.3 2023/07/28 18:19:00 christos Exp $");
+__RCSID("$NetBSD: compat_kevent.c,v 1.4 2023/07/29 10:01:24 rin Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -50,7 +50,7 @@
__warn_references(kevent,
"warning: reference to compatibility kevent(); include <sys/event.h> to generate correct reference")
-__warn_references(kevent,
+__warn_references(__kevent50,
"warning: reference to compatibility __kevent50(); use kevent()")
int
Home |
Main Index |
Thread Index |
Old Index