mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
timerfd_create: fix after cf742faa39
Remove the include that crept in by accident Clang complains about CLOCK_BOOTTIME being the same for now as CLOCK_UPTIME, so remove CLOCK_BOOTTIME and leave a comment for what to do when CLOCK_BOOTTIME will be different for real.
This commit is contained in:
parent
cf742faa39
commit
0ecf0b26a7
|
@ -26,7 +26,6 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/_clock_id.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/callout.h>
|
||||
|
@ -439,8 +438,10 @@ kern_timerfd_create(struct thread *td, int clockid, int flags)
|
|||
case CLOCK_MONOTONIC:
|
||||
/* FALLTHROUGH */
|
||||
case CLOCK_UPTIME:
|
||||
/* FALLTHROUGH */
|
||||
case CLOCK_BOOTTIME:
|
||||
/*
|
||||
* CLOCK_BOOTTIME should be added once different from
|
||||
* CLOCK_UPTIME
|
||||
*/
|
||||
break;
|
||||
default:
|
||||
return (EINVAL);
|
||||
|
|
Loading…
Reference in a new issue