FreeBSD Bugzilla – Attachment 244372 Details for
Bug 273373
<sys/timerfd.h> fails to build in POSIX mode due to namespace pollution
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Drop <sys/proc.h> via forward declaration
bug273373.diff (text/plain), 842 bytes, created by
Jan Beich
on 2023-08-26 23:42:26 UTC
(
hide
)
Description:
Drop <sys/proc.h> via forward declaration
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2023-08-26 23:42:26 UTC
Size:
842 bytes
patch
obsolete
>From bb3f4fbf90e1a810d3539ce27015c2a3217b181c Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Sun, 27 Aug 2023 01:34:18 +0200 >Subject: [PATCH] timerfd: drop unused implicit includes > >PR: 273373 >--- > sys/sys/timerfd.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/sys/sys/timerfd.h b/sys/sys/timerfd.h >index 8cb9939ba60f..f83849d99e47 100644 >--- a/sys/sys/timerfd.h >+++ b/sys/sys/timerfd.h >@@ -29,8 +29,6 @@ > #define _SYS_TIMERFD_H_ > > #include <sys/types.h> >-#include <sys/fcntl.h> >-#include <sys/proc.h> > #include <sys/timespec.h> > > typedef uint64_t timerfd_t; >@@ -54,6 +52,8 @@ __END_DECLS > > #else /* _KERNEL */ > >+struct thread; >+ > int kern_timerfd_create(struct thread *td, int clockid, int flags); > int kern_timerfd_gettime(struct thread *td, int fd, > struct itimerspec *curr_value);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273373
:
244372
|
244373