Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern KNF, i.e. #include <sys/param.h> then #include <sys...
details: https://anonhg.NetBSD.org/src/rev/dd85b3d702af
branches: trunk
changeset: 1023657:dd85b3d702af
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Sep 20 11:12:35 2021 +0000
description:
KNF, i.e. #include <sys/param.h> then #include <sys/types.h>
Fixes builds
diffstat:
sys/kern/sys_eventfd.c | 5 +++--
sys/kern/sys_timerfd.c | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (52 lines):
diff -r 64f351926d06 -r dd85b3d702af sys/kern/sys_eventfd.c
--- a/sys/kern/sys_eventfd.c Mon Sep 20 08:31:09 2021 +0000
+++ b/sys/kern/sys_eventfd.c Mon Sep 20 11:12:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_eventfd.c,v 1.2 2021/09/19 15:51:27 thorpej Exp $ */
+/* $NetBSD: sys_eventfd.c,v 1.3 2021/09/20 11:12:35 skrll Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_eventfd.c,v 1.2 2021/09/19 15:51:27 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_eventfd.c,v 1.3 2021/09/20 11:12:35 skrll Exp $");
/*
* eventfd
@@ -45,6 +45,7 @@
* interface.
*/
+#include <sys/param.h>
#include <sys/types.h>
#include <sys/condvar.h>
#include <sys/eventfd.h>
diff -r 64f351926d06 -r dd85b3d702af sys/kern/sys_timerfd.c
--- a/sys/kern/sys_timerfd.c Mon Sep 20 08:31:09 2021 +0000
+++ b/sys/kern/sys_timerfd.c Mon Sep 20 11:12:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_timerfd.c,v 1.2 2021/09/19 15:51:27 thorpej Exp $ */
+/* $NetBSD: sys_timerfd.c,v 1.3 2021/09/20 11:12:35 skrll Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_timerfd.c,v 1.2 2021/09/19 15:51:27 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_timerfd.c,v 1.3 2021/09/20 11:12:35 skrll Exp $");
/*
* timerfd
@@ -52,6 +52,7 @@
* This implementation is API compatible with the Linux timerfd interface.
*/
+#include <sys/param.h>
#include <sys/types.h>
#include <sys/condvar.h>
#include <sys/file.h>
Home |
Main Index |
Thread Index |
Old Index