clang-format

This commit is contained in:
2024-09-10 13:03:02 -04:00
parent 53c617d779
commit d66450e427
381 changed files with 28864 additions and 34170 deletions

View File

@@ -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_ */