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

@@ -36,14 +36,13 @@
#include <kern/time.h>
/*
* hardclock() is called on every CPU HZ times a second, possibly only
* when the CPU is not idle, for scheduling.
*/
/* hardclocks per second */
#define HZ 100
#define HZ 100
void hardclock_bootstrap(void);
void hardclock(void);
@@ -66,12 +65,10 @@ void gettime(struct timespec *ret);
* sub: ret = t1 - t2
*/
void timespec_add(const struct timespec *t1,
const struct timespec *t2,
struct timespec *ret);
void timespec_sub(const struct timespec *t1,
const struct timespec *t2,
struct timespec *ret);
void timespec_add(const struct timespec *t1, const struct timespec *t2,
struct timespec *ret);
void timespec_sub(const struct timespec *t1, const struct timespec *t2,
struct timespec *ret);
/*
* clocksleep() suspends execution for the requested number of seconds,
@@ -79,5 +76,4 @@ void timespec_sub(const struct timespec *t1,
*/
void clocksleep(int seconds);
#endif /* _CLOCK_H_ */