X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/fe8ab488e9161c46dd9885d58fc52996dc0249ff..eee3565979933af707c711411001ba11fe406a3c:/bsd/security/audit/audit_worker.c

diff --git a/bsd/security/audit/audit_worker.c b/bsd/security/audit/audit_worker.c
index 9a7a99281..85b5c8241 100644
--- a/bsd/security/audit/audit_worker.c
+++ b/bsd/security/audit/audit_worker.c
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 1999-2011 Apple Inc.
+ * Copyright (c) 1999-2016 Apple Inc.
  * Copyright (c) 2006-2008 Robert N. M. Watson
  * All rights reserved.
  *
@@ -70,7 +70,6 @@
 #include <kern/zalloc.h>
 #include <kern/sched_prim.h>
 #include <kern/task.h>
-#include <kern/wait_queue.h>
 
 #include <net/route.h>
 
@@ -415,6 +414,7 @@ out:
  * Note: this means that the effect bound on the size of the pending record
  * queue is 2x the length of the global queue.
  */
+__attribute__((noreturn))
 static void
 audit_worker(void)
 {