clang-format
This commit is contained in:
@@ -30,10 +30,9 @@
|
||||
#ifndef _THREADPRIVATE_H_
|
||||
#define _THREADPRIVATE_H_
|
||||
|
||||
struct thread; /* from <thread.h> */
|
||||
struct thread_machdep; /* from <machine/thread.h> */
|
||||
struct switchframe; /* from <machine/switchframe.h> */
|
||||
|
||||
struct thread; /* from <thread.h> */
|
||||
struct thread_machdep; /* from <machine/thread.h> */
|
||||
struct switchframe; /* from <machine/switchframe.h> */
|
||||
|
||||
/*
|
||||
* Subsystem-private thread defs.
|
||||
@@ -46,14 +45,13 @@ struct switchframe; /* from <machine/switchframe.h> */
|
||||
* interfaces.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* Private thread functions.
|
||||
*/
|
||||
|
||||
/* Entry point for new threads. */
|
||||
void thread_startup(void (*entrypoint)(void *data1, unsigned long data2),
|
||||
void *data1, unsigned long data2);
|
||||
void *data1, unsigned long data2);
|
||||
|
||||
/* Initialize or clean up the machine-dependent portion of struct thread */
|
||||
void thread_machdep_init(struct thread_machdep *tm);
|
||||
@@ -71,8 +69,7 @@ void switchframe_switch(struct switchframe **prev, struct switchframe **next);
|
||||
|
||||
/* Thread initialization */
|
||||
void switchframe_init(struct thread *,
|
||||
void (*entrypoint)(void *data1, unsigned long data2),
|
||||
void *data1, unsigned long data2);
|
||||
|
||||
void (*entrypoint)(void *data1, unsigned long data2),
|
||||
void *data1, unsigned long data2);
|
||||
|
||||
#endif /* _THREADPRIVATE_H_ */
|
||||
|
||||
Reference in New Issue
Block a user