summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/boot_script.h4
-rw-r--r--kern/eventcount.h2
-rw-r--r--kern/thread.h2
-rw-r--r--kern/thread_swap.h1
-rw-r--r--kern/timer.h2
5 files changed, 0 insertions, 11 deletions
diff --git a/kern/boot_script.h b/kern/boot_script.h
index c5ad673..c007d77 100644
--- a/kern/boot_script.h
+++ b/kern/boot_script.h
@@ -69,10 +69,6 @@ int boot_script_exec_cmd (void *hook,
task_t task, char *path, int argc,
char **argv, char *strings, int stringlen);
-/* The user must define this function. Load the contents of FILE
- into a fresh anonymous memory object and return the memory object port. */
-mach_port_t boot_script_read_file (const char *file);
-
/* The user must define this functions to perform the corresponding
Mach task manipulations. */
int boot_script_task_create (struct cmd *); /* task_create + task_suspend */
diff --git a/kern/eventcount.h b/kern/eventcount.h
index f3ba047..7cc8220 100644
--- a/kern/eventcount.h
+++ b/kern/eventcount.h
@@ -55,8 +55,6 @@ extern void evc_init(evc_t ev),
extern kern_return_t evc_wait(natural_t ev_id);
extern kern_return_t evc_wait_clear(natural_t ev_id);
-extern void evc_notify_abort (thread_t thread);
-
#if NCPUS <= 1
void simpler_thread_setrun(
thread_t th,
diff --git a/kern/thread.h b/kern/thread.h
index 559e90b..9946bde 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -345,8 +345,6 @@ extern kern_return_t thread_halt(
boolean_t must_halt);
extern void thread_halt_self(void);
extern void thread_force_terminate(thread_t);
-extern void thread_set_own_priority(
- int priority);
extern thread_t kernel_thread(
task_t task,
void (*start)(void),
diff --git a/kern/thread_swap.h b/kern/thread_swap.h
index 3113030..7f611ec 100644
--- a/kern/thread_swap.h
+++ b/kern/thread_swap.h
@@ -39,6 +39,5 @@ extern void swapper_init(void);
extern void thread_swapin(thread_t thread);
extern void thread_doswapin(thread_t thread);
extern void swapin_thread(void);
-extern void thread_swapout(thread_t thread);
#endif /* _KERN_THREAD_SWAP_H_ */
diff --git a/kern/timer.h b/kern/timer.h
index 76a4117..57f017a 100644
--- a/kern/timer.h
+++ b/kern/timer.h
@@ -182,8 +182,6 @@ MACRO_END
extern void init_timers(void);
-void softclock(void);
-
void timer_init(timer_t this_timer);
#endif /* _KERN_TIMER_H_ */